2010-02-14 12:31:48 +01:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2010-10-03 15:57:35 +02:00
|
|
|
# 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
|