18 lines
367 B
Plaintext
Raw Normal View History

2010-02-14 12:31:48 +01:00
#!/bin/sh -e
set -e
# Remove alternative file if it's not a symlink, workaround for broken upgrade
# See bug #625485
if [ ! -h "/etc/alternatives/lxdm.conf" ] ; then
rm "/etc/alternatives/lxdm.conf"
fi
2010-02-14 12:31:48 +01:00
if [ "$1" = configure ]; then
update-alternatives --install /etc/lxdm/default.conf \
lxdm.conf /etc/xdg/lubuntu/lxdm/lxdm.conf 60
fi
#DEBHELPER#
exit 0