summaryrefslogtreecommitdiff
path: root/logout-manager/debian/logout-manager.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'logout-manager/debian/logout-manager.postinst')
-rw-r--r--logout-manager/debian/logout-manager.postinst9
1 files changed, 9 insertions, 0 deletions
diff --git a/logout-manager/debian/logout-manager.postinst b/logout-manager/debian/logout-manager.postinst
new file mode 100644
index 0000000..b98d697
--- /dev/null
+++ b/logout-manager/debian/logout-manager.postinst
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+#DEBHELPER#
+case "$1" in
+ configure|abort-upgrade|abort-remove|abort-deconfigure)
+ update-alternatives --install /usr/bin/logout-manager logout-manager /usr/bin/logout-manager-gtk.py 80
+ update-alternatives --install /usr/bin/logout-manager logout-manager /usr/bin/logout-manager-tcl.py 70
+ update-alternatives --install /usr/bin/logout-manager logout-manager /usr/bin/logout-manager-ncurses.py 60
+ ;;
+esac
bgstack15