summaryrefslogtreecommitdiffstats
path: root/debian/browser.prerm.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.prerm.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.prerm.in')
-rw-r--r--debian/browser.prerm.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/browser.prerm.in b/debian/browser.prerm.in
new file mode 100644
index 0000000000..b1b191878a
--- /dev/null
+++ b/debian/browser.prerm.in
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ] ; then
+ update-alternatives --remove x-www-browser /usr/bin/@browser@
+ update-alternatives --remove gnome-www-browser /usr/bin/@browser@
+fi
+
+if [ "$1" = "remove" ]; then
+ rm -rf /usr/lib/@browser@/updates
+fi
+
+#DEBHELPER#