diff options
Diffstat (limited to 'debian/zsh.postrm')
-rw-r--r-- | debian/zsh.postrm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/zsh.postrm b/debian/zsh.postrm new file mode 100644 index 000000000..5991d7e53 --- /dev/null +++ b/debian/zsh.postrm @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +case "$1" in + (remove) + remove-shell /bin/zsh + remove-shell /usr/bin/zsh + + # Remove hardcoded symlink again + if [ -L /usr/bin/zsh ]; then + rm -f /usr/bin/zsh + fi + + ;; +esac + +#DEBHELPER# |