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
commit26b028a59eacadeaee74f1b8d82be6baf729a711 (patch)
tree7c68e36b9837419160b727908216c1045e42eb47 /palemoon/debian/palemoon.postinst
parentpalemoon 28.3.1 (diff)
parentPalemoon dpkg for devuan (diff)
downloadstackrpms-26b028a59eacadeaee74f1b8d82be6baf729a711.tar.gz
stackrpms-26b028a59eacadeaee74f1b8d82be6baf729a711.tar.bz2
stackrpms-26b028a59eacadeaee74f1b8d82be6baf729a711.zip
add palemoon dpkg for devuan
See merge request bgstack15/stackrpms!32
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