summaryrefslogtreecommitdiff
path: root/newmoon/debian/newmoon.postinst
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-08-16 16:18:55 -0400
committerB Stack <bgstack15@gmail.com>2020-08-16 16:18:55 -0400
commit8273aba6c02ec57615c8f075086c2e994f720a95 (patch)
tree8e35db9be497e1ce5e33c2703ce137cbeb359707 /newmoon/debian/newmoon.postinst
parentMerge branch 'connman-xdg-bump' into 'master' (diff)
downloadstackrpms-8273aba6c02ec57615c8f075086c2e994f720a95.tar.gz
stackrpms-8273aba6c02ec57615c8f075086c2e994f720a95.tar.bz2
stackrpms-8273aba6c02ec57615c8f075086c2e994f720a95.zip
WIP: newmoon compile attempt 1
The dpkg built on d2-03a but had some palemoon naming artifacts, so this commit is for building it with the attempted fixes for that.
Diffstat (limited to 'newmoon/debian/newmoon.postinst')
-rwxr-xr-xnewmoon/debian/newmoon.postinst11
1 files changed, 11 insertions, 0 deletions
diff --git a/newmoon/debian/newmoon.postinst b/newmoon/debian/newmoon.postinst
new file mode 100755
index 0000000..8757aed
--- /dev/null
+++ b/newmoon/debian/newmoon.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/newmoon 40
+
+ update-alternatives --install /usr/bin/x-www-browser \
+ x-www-browser /usr/bin/newmoon 40
+fi
+
+#DEBHELPER#
bgstack15