summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xetc/mklocaluser.d/60-itzks-systems-roamingworkstation_disable-welcome-page2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/mklocaluser.d/60-itzks-systems-roamingworkstation_disable-welcome-page b/etc/mklocaluser.d/60-itzks-systems-roamingworkstation_disable-welcome-page
index 3f7a863..0225d49 100755
--- a/etc/mklocaluser.d/60-itzks-systems-roamingworkstation_disable-welcome-page
+++ b/etc/mklocaluser.d/60-itzks-systems-roamingworkstation_disable-welcome-page
@@ -12,7 +12,7 @@ if [ -e /etc/debian-edu/config ] ; then
. /etc/debian-edu/config
fi
-if [ "$GETDEFAULTHOMEPAGE" ] &&
+if [ -n "$GETDEFAULTHOMEPAGE" ] &&
echo "$PROFILE" | egrep -q 'Main-Server|Workstation|Roaming-Workstation|LTSP-Server|Minimal' ; then
host="$(echo $GETDEFAULTHOMEPAGE | sed -re 's@[^:]+://([^/]+)/.*@\1@')"
if [ "x$host" = "xwww" ] || [ "x$host" = "xwww.intern" ]; then