#!/bin/sh set -e case "$1" in (configure) # if test -z "$2"; then add-shell /usr/bin/zsh # fi ;; (abort-upgrade|abort-remove|abort-deconfigure) exit 0 ;; (*) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac mkdir -m2775 -p /usr/local/share/zsh/site-functions && chown root:staff \ /usr/local/share/zsh/site-functions || true exit 0