aboutsummaryrefslogtreecommitdiff
path: root/debian/logout-manager.prerm
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-03-11 12:35:10 -0400
committerB Stack <bgstack15@gmail.com>2020-03-11 12:35:10 -0400
commitbe87206a369b09e595e498504eef1540e2c91c41 (patch)
treee753e64e7ca90b1dc0eab2b6afa4cd92ccab50c3 /debian/logout-manager.prerm
parentadd initial debuild stuff (diff)
downloadlogout-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.prerm')
-rw-r--r--debian/logout-manager.prerm11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/logout-manager.prerm b/debian/logout-manager.prerm
new file mode 100644
index 0000000..c0c50d3
--- /dev/null
+++ b/debian/logout-manager.prerm
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+#DEBHELPER#
+case "$1" in
+ remove|deconfigure)
+ update-alternatives --remove logout-manager /usr/bin/logout-manager-gtk.py
+ update-alternatives --remove logout-manager /usr/bin/logout-manager-tcl.py
+ update-alternatives --remove logout-manager /usr/bin/logout-manager-ncurses.py
+ ;;
+ upgrade|failed-upgrade)
+ ;;
+esac
bgstack15