diff options
Diffstat (limited to 'debian/static.postinst')
-rw-r--r-- | debian/static.postinst | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/static.postinst b/debian/static.postinst new file mode 100644 index 000000000..4bf276a3a --- /dev/null +++ b/debian/static.postinst @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +case "$1" in + (configure) +# if test -z "$2"; then + add-shell /bin/zsh-static +# fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + exit 0 + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +update-alternatives --install /bin/zsh-static zsh-static /bin/zsh4-static 40 + +exit 0 |