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.
27 lines
791 B
27 lines
791 B
15 years ago
|
#!/bin/sh -e
|
||
|
|
||
|
set -e
|
||
|
|
||
14 years ago
|
# Remove alternative file if it's not a symlink, workaround for broken upgrade
|
||
|
# See bug #625485
|
||
14 years ago
|
if [ -f /etc/alternatives/lxdm.conf ] ; then
|
||
|
if [ ! -h "/etc/alternatives/lxdm.conf" ] ; then
|
||
|
rm -f "/etc/alternatives/lxdm.conf"
|
||
|
fi
|
||
14 years ago
|
fi
|
||
|
|
||
13 years ago
|
if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
|
||
|
dpkg-maintscript-helper mv_conffile /etc/xdg/pcmanfm/lubuntu.conf /etc/xdg/pcmanfm/lubuntu/pcmanfm.conf 0.15 -- "$@"
|
||
|
fi
|
||
|
|
||
13 years ago
|
if [ "$1" = "configure" ] ; then
|
||
15 years ago
|
update-alternatives --install /etc/lxdm/default.conf \
|
||
|
lxdm.conf /etc/xdg/lubuntu/lxdm/lxdm.conf 60
|
||
13 years ago
|
update-alternatives --install /etc/lightdm/lightdm-gtk-greeter.conf \
|
||
|
lightdm-gtk-greeter-config-derivative \
|
||
|
/etc/xdg/lubuntu/lightdm/lightdm-gtk-greeter.conf 30
|
||
15 years ago
|
fi
|
||
|
|
||
|
#DEBHELPER#
|
||
|
exit 0
|