summaryrefslogtreecommitdiff
path: root/debian/zsh-static.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/zsh-static.prerm')
-rw-r--r--debian/zsh-static.prerm21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/zsh-static.prerm b/debian/zsh-static.prerm
new file mode 100644
index 000000000..adbdf8caa
--- /dev/null
+++ b/debian/zsh-static.prerm
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ remove|deconfigure)
+ update-alternatives --remove zsh-static /bin/zsh5-static
+ ;;
+ upgrade)
+ ;;
+
+ failed-upgrade)
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+#DEBHELPER#