summaryrefslogtreecommitdiffstats
path: root/debian/lynx.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 17:56:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 17:56:52 +0000
commitef73e5d2f4131ded4c897709163ebfb5d119c7ed (patch)
treeb5fa524bac8913514aeb7dc4f7fe7d054bb297ca /debian/lynx.postinst
parentAdding upstream version 2.9.0dev.6. (diff)
downloadlynx-ef73e5d2f4131ded4c897709163ebfb5d119c7ed.tar.xz
lynx-ef73e5d2f4131ded4c897709163ebfb5d119c7ed.zip
Adding debian version 2.9.0dev.6-3~deb11u1.debian/2.9.0dev.6-3_deb11u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/lynx.postinst')
-rw-r--r--debian/lynx.postinst22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/lynx.postinst b/debian/lynx.postinst
new file mode 100644
index 0000000..47ed709
--- /dev/null
+++ b/debian/lynx.postinst
@@ -0,0 +1,22 @@
+#!/bin/sh
+# postinst script for lynx
+pack=lynx
+cnfdir=/etc/${pack}
+CONFIGFILE=${cnfdir}/local.cfg
+
+set -e
+
+if [ "$1" != configure ]; then exit 0; fi
+
+update-alternatives --install /usr/bin/www-browser www-browser \
+ /usr/bin/lynx 40 \
+ --slave /usr/share/man/man1/www-browser.1.gz www-browser.1.gz \
+ /usr/share/man/man1/lynx.1.gz
+
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0