diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:12:15 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:12:15 +0000 |
commit | 602181b0f32e6960e5552302e5dd32e2cffe4611 (patch) | |
tree | 1035b319846d91f8ae39bdc64b91ec170e584a9f /debian/lynx.postinst | |
parent | Adding upstream version 2.8.9rel.1. (diff) | |
download | lynx-debian.tar.xz lynx-debian.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 '')
-rw-r--r-- | debian/lynx.postinst | 22 |
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 |