summaryrefslogtreecommitdiffstats
path: root/debian/browser.postinst.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:49:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:49:03 +0000
commitf7359bb5d4af5721623ec8a5aa8b13d2ebce6a98 (patch)
tree45b8fb78a492d1e85f34e2289e41536f0be60c0a /debian/browser.postinst.in
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-f7359bb5d4af5721623ec8a5aa8b13d2ebce6a98.tar.xz
firefox-f7359bb5d4af5721623ec8a5aa8b13d2ebce6a98.zip
Adding debian version 124.0.1-1.debian/124.0.1-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/browser.postinst.in')
-rw-r--r--debian/browser.postinst.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/browser.postinst.in b/debian/browser.postinst.in
new file mode 100644
index 0000000000..083aa70412
--- /dev/null
+++ b/debian/browser.postinst.in
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] ; then
+ update-alternatives --install /usr/bin/x-www-browser \
+ x-www-browser /usr/bin/@browser@ 70 \
+ --slave /usr/share/man/man1/x-www-browser.1.gz \
+ x-www-browser.1.gz /usr/share/man/man1/@browser@.1.gz
+ update-alternatives --remove mozilla /usr/bin/@browser@
+ update-alternatives --install /usr/bin/gnome-www-browser \
+ gnome-www-browser /usr/bin/@browser@ 70 \
+ --slave /usr/share/man/man1/gnome-www-browser.1.gz \
+ gnome-www-browser.1.gz /usr/share/man/man1/@browser@.1.gz
+fi
+
+if [ "$1" = "configure" ] ; then
+ rm -rf /usr/lib/@browser@/updates
+fi
+
+#DEBHELPER#