diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:21:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:21:24 +0000 |
commit | 6ab76b82bd03cb06a60a04bb1aa0544d16d6b81e (patch) | |
tree | 92ffa8378f3f78a4b8f758c9d1eafe9b024be9c1 /debian/lynx.postinst | |
parent | Adding upstream version 2.9.0rel.0. (diff) | |
download | lynx-6ab76b82bd03cb06a60a04bb1aa0544d16d6b81e.tar.xz lynx-6ab76b82bd03cb06a60a04bb1aa0544d16d6b81e.zip |
Adding debian version 2.9.0rel.0-2.debian/2.9.0rel.0-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/lynx.postinst')
-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 |