summaryrefslogtreecommitdiff
path: root/logout-manager/debian/logout-manager.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'logout-manager/debian/logout-manager.prerm')
-rw-r--r--logout-manager/debian/logout-manager.prerm14
1 files changed, 14 insertions, 0 deletions
diff --git a/logout-manager/debian/logout-manager.prerm b/logout-manager/debian/logout-manager.prerm
new file mode 100644
index 0000000..8d71190
--- /dev/null
+++ b/logout-manager/debian/logout-manager.prerm
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+#DEBHELPER#
+case "$1" in
+ remove|deconfigure)
+ {
+ update-alternatives --remove logout-manager /usr/bin/logout-manager-gtk
+ update-alternatives --remove logout-manager /usr/bin/logout-manager-tcl
+ update-alternatives --remove logout-manager /usr/bin/logout-manager-ncurses
+ } | grep -vE 'update-alternatives:.*-(tcl|ncurses)' || :
+ ;;
+ upgrade|failed-upgrade)
+ :
+ ;;
+esac
bgstack15