summaryrefslogtreecommitdiff
path: root/palemoon/debian/palemoon.postinst
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-01-26 15:31:03 +0000
committerB Stack <bgstack15@gmail.com>2019-01-26 15:31:03 +0000
commit01a9822e17e555568a7f3a8b5b5ad50d5599489f (patch)
tree7c68e36b9837419160b727908216c1045e42eb47 /palemoon/debian/palemoon.postinst
parentpalemoon 28.3.1 (diff)
downloadstackrpms-01a9822e17e555568a7f3a8b5b5ad50d5599489f.tar.gz
stackrpms-01a9822e17e555568a7f3a8b5b5ad50d5599489f.tar.bz2
stackrpms-01a9822e17e555568a7f3a8b5b5ad50d5599489f.zip
Palemoon dpkg for devuan
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