From be87206a369b09e595e498504eef1540e2c91c41 Mon Sep 17 00:00:00 2001 From: B Stack Date: Wed, 11 Mar 2020 12:35:10 -0400 Subject: use alternatives, and actually run commands --- debian/logout-manager.postinst | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 debian/logout-manager.postinst (limited to 'debian/logout-manager.postinst') 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 -- cgit