* debian/postinst:

- Don't fail if the alternative file doesn't exist. (LP: #654211)
ubuntu/bionic
Julien Lavergne 14 years ago
parent 5d6aaeb29a
commit 8f3310e639

7
debian/changelog vendored

@ -7,6 +7,13 @@ lubuntu-default-settings (0.13) natty; urgency=low
-- Julien Lavergne <gilir@ubuntu.com> Tue, 09 Nov 2010 20:47:03 +0100
lubuntu-default-settings (0.13) maverick; urgency=low
* debian/postinst:
- Don't fail if the alternative file doesn't exist. (LP: #654211)
-- Julien Lavergne <gilir@ubuntu.com> Mon, 04 Oct 2010 23:16:56 +0200
lubuntu-default-settings (0.12) maverick; urgency=low
* debian/postinst:

6
debian/postinst vendored

@ -4,8 +4,10 @@ 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"
if [ -f /etc/alternatives/lxdm.conf ] ; then
if [ ! -h "/etc/alternatives/lxdm.conf" ] ; then
rm -f "/etc/alternatives/lxdm.conf"
fi
fi
if [ "$1" = configure ]; then

Loading…
Cancel
Save