aboutsummaryrefslogtreecommitdiff
path: root/debian/logout-manager.postinst
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-03-19 19:36:22 +0000
committerB Stack <bgstack15@gmail.com>2020-03-19 19:36:22 +0000
commitb2dedd0c9988e888a53de366c65991d91c20c357 (patch)
tree15aaaec948f6d03fc91a60b54d86ec3dfa57a13e /debian/logout-manager.postinst
parentcleanup (diff)
parentminor fixes (diff)
downloadlogout-manager-b2dedd0c9988e888a53de366c65991d91c20c357.tar.gz
logout-manager-b2dedd0c9988e888a53de366c65991d91c20c357.tar.bz2
logout-manager-b2dedd0c9988e888a53de366c65991d91c20c357.zip
Merge branch 'add-ncurses' into 'master'
add ncurses and cli versions and makefile See merge request bgstack15/logout-manager!1
Diffstat (limited to 'debian/logout-manager.postinst')
-rw-r--r--debian/logout-manager.postinst9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/logout-manager.postinst b/debian/logout-manager.postinst
new file mode 100644
index 0000000..b98d697
--- /dev/null
+++ b/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