From 1a0e44d4b6dff5a7d5c30b675b8cf8aedab3bd98 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 19 Dec 2012 10:42:44 -0500 Subject: [PATCH] BF: do not exit non-0 if lightdm.conf is not present (squeeze VM) --- debian/neurodebian-guest-additions.postinst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/neurodebian-guest-additions.postinst b/debian/neurodebian-guest-additions.postinst index a714ea0..760b0a8 100755 --- a/debian/neurodebian-guest-additions.postinst +++ b/debian/neurodebian-guest-additions.postinst @@ -29,10 +29,10 @@ _set_lightdm_auto_login() { gdm_conf=/etc/gdm/gdm.conf if [ "$1" = "configure" -o "$1" = "abort-upgrade" ]; then - [ -e /etc/gdm/gdm.conf ] && _set_gdm_auto_login /etc/gdm/gdm.conf 2 - [ -e /etc/gdm3/daemon.conf ] && _set_gdm_auto_login /etc/gdm3/daemon.conf 3 + [ -e /etc/gdm/gdm.conf ] && _set_gdm_auto_login /etc/gdm/gdm.conf 2 || : + [ -e /etc/gdm3/daemon.conf ] && _set_gdm_auto_login /etc/gdm3/daemon.conf 3 || : - [ -e /etc/lightdm/lightdm.conf ] && _set_lightdm_auto_login /etc/lightdm/lightdm.conf + [ -e /etc/lightdm/lightdm.conf ] && _set_lightdm_auto_login /etc/lightdm/lightdm.conf || : fi #DEBHELPER# -- 2.39.2