diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2015-11-13 09:57:05 +1300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2015-11-13 09:57:05 +1300 |
commit | ae368f38c773b0252e881fbd69f5427376be8b08 (patch) | |
tree | 83063e4108759c77a678875661aa4956608d5443 | |
parent | 6053fd53588bd0cf8bc03756a5bd76f53eb38281 (diff) | |
parent | d433ea23cd306df3a6279b6f35888011c1eea977 (diff) | |
download | lightdm-ae368f38c773b0252e881fbd69f5427376be8b08.tar.gz |
Stop guest session error if there is no prefs.sh configuration
-rw-r--r-- | debian/guest-session-setup.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/guest-session-setup.sh b/debian/guest-session-setup.sh index 9e1300db..46cee493 100644 --- a/debian/guest-session-setup.sh +++ b/debian/guest-session-setup.sh @@ -31,4 +31,6 @@ echo "hideRestartNotifier=true" >> ${HOME}/.kde/share/config/notificationhelper #/bin/echo -e ${dmrc} > ${HOME}/.dmrc # set possible local guest session preferences -[ -f ${site_gs}/prefs.sh ] && . ${site_gs}/prefs.sh +if [ -f ${site_gs}/prefs.sh ]; then + . ${site_gs}/prefs.sh +fi |