File: lynx.postinst

package info (click to toggle)
lynx 2.9.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,024 kB
  • sloc: ansic: 137,142; sh: 4,022; perl: 1,523; makefile: 1,193; yacc: 783
file content (22 lines) | stat: -rw-r--r-- 476 bytes parent folder | download | duplicates (6)
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