summaryrefslogtreecommitdiffstats
path: root/PACKAGE/debian/prerm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--PACKAGE/debian/prerm12
1 files changed, 12 insertions, 0 deletions
diff --git a/PACKAGE/debian/prerm b/PACKAGE/debian/prerm
new file mode 100644
index 0000000..a79bf38
--- /dev/null
+++ b/PACKAGE/debian/prerm
@@ -0,0 +1,12 @@
+#! /bin/sh
+# prerm script for lynx
+
+set -e
+
+if [ $1 != "upgrade" ]; then
+ update-alternatives --remove lynx /usr/bin/lynx-dev
+fi
+
+#DEBHELPER#
+
+exit 0