summaryrefslogtreecommitdiff
path: root/librewolf/debian/browser.prerm.in
diff options
context:
space:
mode:
Diffstat (limited to 'librewolf/debian/browser.prerm.in')
-rw-r--r--librewolf/debian/browser.prerm.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/librewolf/debian/browser.prerm.in b/librewolf/debian/browser.prerm.in
new file mode 100644
index 0000000..b1b1918
--- /dev/null
+++ b/librewolf/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#
bgstack15