Polish the maintainer scripts.

ubuntu/cosmic
Shih-Yuan Lee (FourDollars) 9 years ago
parent b1a15e7331
commit bb86bc8672

2
debian/postinst vendored

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

9
debian/preinst vendored

@ -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

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

Loading…
Cancel
Save