aboutsummaryrefslogtreecommitdiff
path: root/debian/gmm.postinst
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2025-01-09 20:51:41 -0500
committerB. Stack <bgstack15@gmail.com>2025-01-09 20:51:41 -0500
commit09c8f5ee8bf92e86ffb975d1c7e8079e120676c0 (patch)
treea93cb680270342b586467d6884c60567a81cdd19 /debian/gmm.postinst
parentset default show_gui to true (diff)
downloadgmm-09c8f5ee8bf92e86ffb975d1c7e8079e120676c0.tar.gz
gmm-09c8f5ee8bf92e86ffb975d1c7e8079e120676c0.tar.bz2
gmm-09c8f5ee8bf92e86ffb975d1c7e8079e120676c0.zip
add dpkg recipe
Diffstat (limited to 'debian/gmm.postinst')
-rw-r--r--debian/gmm.postinst11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/gmm.postinst b/debian/gmm.postinst
new file mode 100644
index 0000000..335f2dd
--- /dev/null
+++ b/debian/gmm.postinst
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-remove" ] ; then
+ update-alternatives --install /usr/bin/gmm \
+ gmm /usr/bin/gmm-tk 40
+
+ update-alternatives --install /usr/bin/gmm \
+ gmm /usr/bin/gmm-gtk 50
+fi
+
+#DEBHELPER#
bgstack15