summaryrefslogtreecommitdiffstats
path: root/debian/bash.prerm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/bash.prerm22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/bash.prerm b/debian/bash.prerm
new file mode 100644
index 0000000..52052a2
--- /dev/null
+++ b/debian/bash.prerm
@@ -0,0 +1,22 @@
+#! /bin/bash
+
+set -e
+
+case "$1" in
+ upgrade)
+ update-alternatives --remove builtins.7.gz \
+ /usr/share/man/man7/bash-builtins.7.gz
+ ;;
+
+ remove|deconfigure)
+ ;;
+
+ failed-upgrade)
+ ;;
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#