Update maintainer scripts

ubuntu/cosmic
ChangZhuo Chen (陳昌倬) 9 years ago
parent 6350209b14
commit 75e7821e5b

2
debian/postinst vendored

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
set -e set -e
set -u
case "$1" in case "$1" in
configure) configure)

13
debian/preinst vendored

@ -1,13 +0,0 @@
#!/bin/sh
set -e
case "$1" in
upgrade)
[ -f /usr/bin/startlxqt ] && update-alternatives --remove x-window-manager /usr/bin/startlxqt
;;
esac
#DEBHELPER#
exit 0

4
debian/prerm vendored

@ -1,9 +1,9 @@
#!/bin/sh #!/bin/sh
set -e set -e
set -u
case "$1" in case "$1" in
remove) remove|purge)
update-alternatives --remove x-session-manager /usr/bin/startlxqt update-alternatives --remove x-session-manager /usr/bin/startlxqt
;; ;;
esac esac

Loading…
Cancel
Save