le-greeter: Removing lightdm.conf divert

Signed-off-by: 's avatarDiego Giovane Pasqualin <dpasqualin@c3sl.ufpr.br>
parent 8d6f4760
Package: le-greeter Package: le-greeter
Priority: important Priority: important
Section: main Section: main
Version: 0.1.35 Version: 0.1.37
Maintainer: LE Maintainer <le-maintainer@c3sl.ufpr.br> Maintainer: LE Maintainer <le-maintainer@c3sl.ufpr.br>
Description: Login screen theme and configurations for Linux Educacional 5.0 Description: Login screen theme and configurations for Linux Educacional 5.0
Architecture: i386 Architecture: i386
......
...@@ -26,8 +26,7 @@ if [ -x /usr/lib/lightdm/lightdm-set-defaults ] ; then ...@@ -26,8 +26,7 @@ if [ -x /usr/lib/lightdm/lightdm-set-defaults ] ; then
fi fi
# List of diverted files: # List of diverted files:
DIVERTS="/usr/sbin/guest-account \ DIVERTS="/usr/sbin/guest-account"
/etc/lightdm/lightdm.conf"
# Move diverted files back # Move diverted files back
if [[ "$1" != "upgrade" ]]; then if [[ "$1" != "upgrade" ]]; then
......
...@@ -21,8 +21,16 @@ ...@@ -21,8 +21,16 @@
# USA. # USA.
# Files to divert: # Files to divert:
DIVERTS="/usr/sbin/guest-account \ RMDIVERTS="/etc/lightdm/lightdm.conf"
/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: # Divert files:
for file in $DIVERTS; do 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