diff options
author | B Stack <bgstack15@gmail.com> | 2020-03-11 12:35:10 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-03-11 12:35:10 -0400 |
commit | be87206a369b09e595e498504eef1540e2c91c41 (patch) | |
tree | e753e64e7ca90b1dc0eab2b6afa4cd92ccab50c3 /debian/logout-manager.postinst | |
parent | add initial debuild stuff (diff) | |
download | logout-manager-be87206a369b09e595e498504eef1540e2c91c41.tar.gz logout-manager-be87206a369b09e595e498504eef1540e2c91c41.tar.bz2 logout-manager-be87206a369b09e595e498504eef1540e2c91c41.zip |
use alternatives, and actually run commands
Diffstat (limited to 'debian/logout-manager.postinst')
-rw-r--r-- | debian/logout-manager.postinst | 9 |
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 |