summaryrefslogtreecommitdiff
path: root/waterfox/debian/waterfox.prerm
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-03-06 15:23:42 -0500
committerB Stack <bgstack15@gmail.com>2019-03-06 15:23:42 -0500
commitfe39148d0cd6ec9020883e8e2af9376412f8da86 (patch)
tree7284d371ba3a04d1e8dcfbe97c5e2cc99057a467 /waterfox/debian/waterfox.prerm
parentwaterfox 56.2.7.1 rpm rc1 (diff)
downloadstackrpms-fe39148d0cd6ec9020883e8e2af9376412f8da86.tar.gz
stackrpms-fe39148d0cd6ec9020883e8e2af9376412f8da86.tar.bz2
stackrpms-fe39148d0cd6ec9020883e8e2af9376412f8da86.zip
WIP: waterfox dpkg
Diffstat (limited to 'waterfox/debian/waterfox.prerm')
-rw-r--r--waterfox/debian/waterfox.prerm12
1 files changed, 12 insertions, 0 deletions
diff --git a/waterfox/debian/waterfox.prerm b/waterfox/debian/waterfox.prerm
new file mode 100644
index 0000000..67368ac
--- /dev/null
+++ b/waterfox/debian/waterfox.prerm
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+APP_NAME=waterfox
+
+if [ "$1" = "remove" ] ; then
+ update-alternatives --remove gnome-www-browser /usr/bin/$APP_NAME
+ update-alternatives --remove x-www-browser /usr/bin/$APP_NAME
+fi
+
+#DEBHELPER#
bgstack15