Polish the maintainer scripts.

This commit is contained in:
Shih-Yuan Lee (FourDollars) 2015-08-17 15:19:10 +02:00
parent b1a15e7331
commit bb86bc8672
3 changed files with 9 additions and 4 deletions

2
debian/postinst vendored
View File

@ -10,3 +10,5 @@ case "$1" in
esac
#DEBHELPER#
exit 0

9
debian/preinst vendored
View File

@ -2,10 +2,11 @@
set -e
if [ "$1" = upgrade ]; then
[ -f /usr/bin/startlxqt ] && update-alternatives --remove x-window-manager /usr/bin/startlxqt
fi
case "$1" in
upgrade)
[ -f /usr/bin/startlxqt ] && update-alternatives --remove x-window-manager /usr/bin/startlxqt
;;
esac
#DEBHELPER#

2
debian/prerm vendored
View File

@ -9,3 +9,5 @@ case "$1" in
esac
#DEBHELPER#
exit 0