File: postinst

package info (click to toggle)
lynx 2.8.5-2sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 11,780 kB
  • ctags: 10,300
  • sloc: ansic: 118,519; sh: 3,245; makefile: 869; perl: 583
file content (20 lines) | stat: -rw-r--r-- 468 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -e

if [ "$1" != configure ]; then exit 0; fi

if [ -x /usr/bin/update-menus ]; then
    update-menus
fi

if [ -x /usr/sbin/update-mime ]; then
    update-mime
fi

update-alternatives --quiet --install /usr/bin/www-browser www-browser \
       /usr/bin/lynx 50 \
       --slave /usr/share/man/man1/www-browser.1.gz www-browser.1.gz \
       /usr/share/man/man1/lynx.1.gz

update-alternatives --quiet --install /usr/bin/lynx lynx /usr/bin/lynx.stable 20