summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/tdebase/debian/konqueror-trinity.postinst
diff options
context:
space:
mode:
authorNick Leverton <nick@leverton.org>2015-05-31 16:10:59 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-05-31 16:10:59 +0200
commit9e82e241298bb51e278618a061b383dbc2f3a660 (patch)
treead58c3cf56fe68d0a3008529c149142f4748267e /ubuntu/maverick/tdebase/debian/konqueror-trinity.postinst
parentbe8296e88c46d6ea43c285ccef320c1b7a75b083 (diff)
downloadtde-packaging-9e82e241298bb51e278618a061b383dbc2f3a660.tar.gz
tde-packaging-9e82e241298bb51e278618a061b383dbc2f3a660.zip
Fix alternatives provision on Debian and Ubuntu
This resolves Bug 2452 Signed-off-by: Nick Leverton <nick@leverton.org>
Diffstat (limited to 'ubuntu/maverick/tdebase/debian/konqueror-trinity.postinst')
-rw-r--r--ubuntu/maverick/tdebase/debian/konqueror-trinity.postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/ubuntu/maverick/tdebase/debian/konqueror-trinity.postinst b/ubuntu/maverick/tdebase/debian/konqueror-trinity.postinst
index ea83963d9..4c62f6bf2 100644
--- a/ubuntu/maverick/tdebase/debian/konqueror-trinity.postinst
+++ b/ubuntu/maverick/tdebase/debian/konqueror-trinity.postinst
@@ -24,6 +24,9 @@ case "$1" in
divert_remove /usr/share/icons/hicolor/48x48/apps/konqueror.png
divert_remove /usr/share/icons/hicolor/64x64/apps/konqueror.png
divert_remove /usr/share/icons/hicolor/scalable/apps/konqueror.svgz
+
+ update-alternatives --install /usr/bin/x-www-browser x-www-browser /opt/trinity/bin/konqueror 100 \
+ --slave /usr/share/man/man1/x-www-browser.1.gz x-www-browser.1.gz /usr/share/man/man1/konqueror-trinity.1.gz
;;
install)