summaryrefslogtreecommitdiffstats
path: root/debian/lynx.postinst
blob: 47ed7099cfd86e13a93b8329271a35fc3567d3ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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