summaryrefslogtreecommitdiffstats
path: root/debian/lynx.prerm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:12:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:12:15 +0000
commit602181b0f32e6960e5552302e5dd32e2cffe4611 (patch)
tree1035b319846d91f8ae39bdc64b91ec170e584a9f /debian/lynx.prerm
parentAdding upstream version 2.8.9rel.1. (diff)
downloadlynx-602181b0f32e6960e5552302e5dd32e2cffe4611.tar.xz
lynx-602181b0f32e6960e5552302e5dd32e2cffe4611.zip
Adding debian version 2.8.9rel.1-3+deb10u1.debian/2.8.9rel.1-3+deb10u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/lynx.prerm')
-rw-r--r--debian/lynx.prerm26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/lynx.prerm b/debian/lynx.prerm
new file mode 100644
index 0000000..b4b3b81
--- /dev/null
+++ b/debian/lynx.prerm
@@ -0,0 +1,26 @@
+#! /bin/sh
+# prerm script for lynx
+#
+# see: dh_installdeb(1)
+
+set -e
+
+case "$1" in
+ remove|deconfigure)
+ update-alternatives --remove www-browser /usr/bin/lynx
+# update-alternatives --remove lynx /usr/bin/lynx
+ ;;
+ failed-upgrade|upgrade)
+ ;;
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0