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