summaryrefslogtreecommitdiff
path: root/newmoon/debian/newmoon.postinst
diff options
context:
space:
mode:
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