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 17:58:04 +0200
commitb54acaf8206828eb1fdfaa50780bcb2e9ac89353 (patch)
treedb86bb7efe277c696d3c7451537018f11e247492 /ubuntu/maverick/tdebase/debian/konqueror-trinity.postinst
parent199d38f1435d0f09cdd23e3465c9da606f0ce3ff (diff)
downloadtde-packaging-b54acaf8206828eb1fdfaa50780bcb2e9ac89353.tar.gz
tde-packaging-b54acaf8206828eb1fdfaa50780bcb2e9ac89353.zip
Fix alternatives provision on Debian and Ubuntu
This resolves Bug 2452 Signed-off-by: Nick Leverton <nick@leverton.org> (cherry picked from commit 9e82e241298bb51e278618a061b383dbc2f3a660)
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)