You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lubuntu-default-settings/debian/postinst

20 lines
424 B

15 years ago
#!/bin/sh -e
set -e
# Remove alternative file if it's not a symlink, workaround for broken upgrade
# See bug #625485
if [ -f /etc/alternatives/lxdm.conf ] ; then
if [ ! -h "/etc/alternatives/lxdm.conf" ] ; then
rm -f "/etc/alternatives/lxdm.conf"
fi
fi
15 years ago
if [ "$1" = configure ]; then
update-alternatives --install /etc/lxdm/default.conf \
lxdm.conf /etc/xdg/lubuntu/lxdm/lxdm.conf 60
fi
#DEBHELPER#
exit 0