Fix postinst script

ubuntu/bionic
Julien Lavergne 14 years ago
parent ef7f3423de
commit b12dd0bd82

6
debian/postinst vendored

@ -15,12 +15,14 @@ if [ "$1" = configure ]; then
lxdm.conf /etc/xdg/lubuntu/lxdm/lxdm.conf 60 lxdm.conf /etc/xdg/lubuntu/lxdm/lxdm.conf 60
fi fi
if [ "$1" = configure|upgrade ]; then case "$1" in
configure|upgrade)
if [ -x /usr/lib/lightdm/lightdm-set-defaults ] ; then if [ -x /usr/lib/lightdm/lightdm-set-defaults ] ; then
/usr/lib/lightdm/lightdm-set-defaults --keep-old --session=Lubuntu || true /usr/lib/lightdm/lightdm-set-defaults --keep-old --session=Lubuntu || true
/usr/lib/lightdm/lightdm-set-defaults --keep-old --greeter=lightdm-gtk-greeter || true /usr/lib/lightdm/lightdm-set-defaults --keep-old --greeter=lightdm-gtk-greeter || true
fi fi
fi ;;
esac
if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
dpkg-maintscript-helper mv_conffile /etc/xdg/pcmanfm/lubuntu.conf /etc/xdg/pcmanfm/lubuntu/pcmanfm.conf 0.15 -- "$@" dpkg-maintscript-helper mv_conffile /etc/xdg/pcmanfm/lubuntu.conf /etc/xdg/pcmanfm/lubuntu/pcmanfm.conf 0.15 -- "$@"

Loading…
Cancel
Save