* debian/postinst:

- Remove alternatives file if it's not a symlink (LP: #625485).
ubuntu/bionic
Julien Lavergne 14 years ago
parent f602577b29
commit 10e4e715dc

3
debian/changelog vendored

@ -1,6 +1,7 @@
lubuntu-default-settings (0.12) UNRELEASED; urgency=low
*
* debian/postinst:
- Remove alternatives file if it's not a symlink (LP: #625485).
-- Julien Lavergne <gilir@ubuntu.com> Wed, 29 Sep 2010 00:46:48 +0200

6
debian/postinst vendored

@ -2,6 +2,12 @@
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
if [ "$1" = configure ]; then
update-alternatives --install /etc/lxdm/default.conf \
lxdm.conf /etc/xdg/lubuntu/lxdm/lxdm.conf 60

Loading…
Cancel
Save