* debian/postinst:
- Don't fail if the alternative file doesn't exist. (LP: #654211)
This commit is contained in:
parent
5d6aaeb29a
commit
8f3310e639
7
debian/changelog
vendored
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
|
-- 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
|
lubuntu-default-settings (0.12) maverick; urgency=low
|
||||||
|
|
||||||
* debian/postinst:
|
* debian/postinst:
|
||||||
|
6
debian/postinst
vendored
6
debian/postinst
vendored
@ -4,8 +4,10 @@ set -e
|
|||||||
|
|
||||||
# Remove alternative file if it's not a symlink, workaround for broken upgrade
|
# Remove alternative file if it's not a symlink, workaround for broken upgrade
|
||||||
# See bug #625485
|
# See bug #625485
|
||||||
if [ ! -h "/etc/alternatives/lxdm.conf" ] ; then
|
if [ -f /etc/alternatives/lxdm.conf ] ; then
|
||||||
rm "/etc/alternatives/lxdm.conf"
|
if [ ! -h "/etc/alternatives/lxdm.conf" ] ; then
|
||||||
|
rm -f "/etc/alternatives/lxdm.conf"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = configure ]; then
|
if [ "$1" = configure ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user