le-greeter: Removing lightdm.conf divert

Signed-off-by: 's avatarDiego Giovane Pasqualin <dpasqualin@c3sl.ufpr.br>
parent 8d6f4760
Package: le-greeter
Priority: important
Section: main
Version: 0.1.35
Version: 0.1.37
Maintainer: LE Maintainer <le-maintainer@c3sl.ufpr.br>
Description: Login screen theme and configurations for Linux Educacional 5.0
Architecture: i386
......
......@@ -26,8 +26,7 @@ if [ -x /usr/lib/lightdm/lightdm-set-defaults ] ; then
fi
# List of diverted files:
DIVERTS="/usr/sbin/guest-account \
/etc/lightdm/lightdm.conf"
DIVERTS="/usr/sbin/guest-account"
# Move diverted files back
if [[ "$1" != "upgrade" ]]; then
......
......@@ -21,8 +21,16 @@
# USA.
# Files to divert:
DIVERTS="/usr/sbin/guest-account \
/etc/lightdm/lightdm.conf"
RMDIVERTS="/etc/lightdm/lightdm.conf"
DIVERTS="/usr/sbin/guest-account"
# Remove diverts made from previous versions of le-greeter (<0.1.36)
for file in $RMDIVERTS; do
dpkg-divert --remove ${file}
if test -e ${file}.lightdm; then
rm -f ${file}.lightdm
fi
done
# Divert files:
for file in $DIVERTS; do
......
[SeatDefaults]
user-session=gnome
greeter-session=unity-greeter
greeter-show-manual-login=false
allow-guest=false
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment