aboutsummaryrefslogtreecommitdiffstats
path: root/debian/postinst
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:18:09 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:18:09 +0000
commit5f8e0f8ef9a422691dd72e8a953a42a41478fcb4 (patch)
tree4b2df4796a534793648b3c4fc532fc36bd0cd525 /debian/postinst
parentReleasing debian version 0.3-2.4 (diff)
downloadw3m-5f8e0f8ef9a422691dd72e8a953a42a41478fcb4.tar.gz
w3m-5f8e0f8ef9a422691dd72e8a953a42a41478fcb4.zip
Releasing debian version 0.5.1-1debian/0.5.1-1
Diffstat (limited to '')
-rw-r--r--debian/postinst9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst
index 2d2f4aa..74caddf 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -7,6 +7,15 @@ case "$1" in
/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