summaryrefslogtreecommitdiffstats
path: root/bzip2.pkg/prerm
diff options
context:
space:
mode:
Diffstat (limited to 'bzip2.pkg/prerm')
-rw-r--r--bzip2.pkg/prerm7
1 files changed, 7 insertions, 0 deletions
diff --git a/bzip2.pkg/prerm b/bzip2.pkg/prerm
new file mode 100644
index 0000000..d82eecc
--- /dev/null
+++ b/bzip2.pkg/prerm
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ "x${1}" = 'xremove' ]; then
+ for link in bzip2 bunzip2 bzcat; do
+ update-alternatives --remove ${link} /usr/bin/${link}.bzip2
+ done
+fi