From 5f8e0f8ef9a422691dd72e8a953a42a41478fcb4 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Wed, 4 May 2011 16:18:09 +0900 Subject: Releasing debian version 0.5.1-1 --- debian/postinst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'debian/postinst') 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 -- cgit v1.2.3