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.prerm8
1 files changed, 5 insertions, 3 deletions
diff --git a/logout-manager/debian/logout-manager.prerm b/logout-manager/debian/logout-manager.prerm
index 045aace..8d71190 100644
--- a/logout-manager/debian/logout-manager.prerm
+++ b/logout-manager/debian/logout-manager.prerm
@@ -2,9 +2,11 @@
#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
+ {
+ 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)
:
bgstack15