Avoid removing x-session-manager alternative on package upgrades (Closes: #587163).
authorDaniel Baumann <daniel@debian.org>
Fri, 18 May 2012 13:09:44 +0000 (15:09 +0200)
committerDaniel Baumann <daniel@debian.org>
Fri, 18 May 2012 13:09:49 +0000 (15:09 +0200)
debian/lxde-common.prerm

index 6f0d313..5b4ad0a 100644 (file)
@@ -3,11 +3,11 @@
 set -e
 
 case "${1}" in
-       remove|upgrade|deconfigure)
+       remove|deconfigure)
                update-alternatives --remove x-session-manager /usr/bin/startlxde
                ;;
 
-       failed-upgrade)
+       upgrade|failed-upgrade)
 
                ;;