blob: 74caddf524a478188778ae23cfc9a73155a1038d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh -e
#
case "$1" in
configure)
update-alternatives --quiet --install /usr/bin/pager pager \
/usr/bin/w3m 25 \
--slave /usr/share/man/man1/pager.1.gz pager.1.gz \
/usr/share/man/man1/w3m.1.gz
update-alternatives --quiet --install /usr/bin/www-browser www-browser \
/usr/bin/w3m 25 \
--slave /usr/share/man/man1/www-browser.1.gz www-browser.1.gz \
/usr/share/man/man1/w3m.1.gz
# Remove the conffile with the wrong location (the binary never used
# it) that may be present from an older version.
# (In our preinst, we've already ensured the sysadmin had a chance
# of preserving any configuration made in it)
rm -f /etc/w3m/w3mconfig
;;
*)
esac
#DEBHELPER#
|