| 1 |
#!/bin/sh |
| 2 |
# postinst script for lynx |
| 3 |
pack=lynx |
| 4 |
cnfdir=/etc/${pack} |
| 5 |
CONFIGFILE=${cnfdir}/local.cfg |
| 6 |
|
| 7 |
set -e |
| 8 |
|
| 9 |
if [ "$1" != configure ]; then exit 0; fi |
| 10 |
|
| 11 |
update-alternatives --install /usr/bin/www-browser www-browser \ |
| 12 |
/usr/bin/lynx 40 \ |
| 13 |
--slave /usr/share/man/man1/www-browser.1.gz www-browser.1.gz \ |
| 14 |
/usr/share/man/man1/lynx.1.gz |
| 15 |
|
| 16 |
|
| 17 |
# dh_installdeb will replace this with shell code automatically |
| 18 |
# generated by other debhelper scripts. |
| 19 |
|
| 20 |
#DEBHELPER# |
| 21 |
|
| 22 |
exit 0 |