summaryrefslogtreecommitdiff
path: root/logout-manager/debian/logout-manager.prerm
blob: 8d7119008357bfa40133b04e79b1e1682b96320f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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