summaryrefslogtreecommitdiff
path: root/palemoon/debian/palemoon.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'palemoon/debian/palemoon.postinst')
-rwxr-xr-xpalemoon/debian/palemoon.postinst11
1 files changed, 11 insertions, 0 deletions
diff --git a/palemoon/debian/palemoon.postinst b/palemoon/debian/palemoon.postinst
new file mode 100755
index 0000000..dde1357
--- /dev/null
+++ b/palemoon/debian/palemoon.postinst
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-remove" ] ; then
+ update-alternatives --install /usr/bin/gnome-www-browser \
+ gnome-www-browser /usr/bin/palemoon 40
+
+ update-alternatives --install /usr/bin/x-www-browser \
+ x-www-browser /usr/bin/palemoon 40
+fi
+
+#DEBHELPER#
bgstack15