[X2Go-Commits] [live-build-x2go] 160/160: config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig: whitespace and quoting fixups.

git-admin at x2go.org git-admin at x2go.org
Sat Nov 18 01:55:55 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/openbox
in repository live-build-x2go.

commit a774a3c006b99d067ccb2030cbee95bce02db1f2
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Nov 18 01:51:58 2017 +0100

    config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig: whitespace and quoting fixups.
---
 .../lib/live/config/2900-x2go-thinclientconfig     | 32 +++++++++++-----------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
index 0e124d2..0609975 100755
--- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
+++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
@@ -113,25 +113,25 @@ LDAP2=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' /proc/cm
 BRANDING=''
 OLDCON=''
 if grep -q ' branding=' /proc/cmdline; then
-	while ! [ -s /etc/x2go/branding.svg ]; do
+	while ! [ -s "/etc/x2go/branding.svg" ]; do
 		[ -z "\$OLDCON" ] && OLDCON="\$(fgconsole)"
-		chvt 1
-	        echo "'\$0' is waiting for a valid '/etc/x2go/branding.svg' file."
-		sleep 2
+		chvt "1"
+		echo "'\$0' is waiting for a valid '/etc/x2go/branding.svg' file."
+		sleep "2"
 	done
-	[ -n "\$OLDCON" ] && chvt \$OLDCON
+	[ -n "\$OLDCON" ] && chvt "\$OLDCON"
 	BRANDING='--branding=/etc/x2go/branding.svg'
 fi
 BACKGROUND=''
 OLDCON=''
 if grep -q ' bg=' /proc/cmdline; then
-	while ! [ -s /etc/x2go/bg.svg ]; do
+	while ! [ -s "/etc/x2go/bg.svg" ]; do
 		[ -z "\$OLDCON" ] && OLDCON="\$(fgconsole)"
-		chvt 1
-	        echo "'\$0' is waiting for a valid '/etc/x2go/bg.svg' file."
-		sleep 2
+		chvt "1"
+		echo "'\$0' is waiting for a valid '/etc/x2go/bg.svg' file."
+		sleep "2"
 	done
-	[ -n "\$OLDCON" ] && chvt \$OLDCON
+	[ -n "\$OLDCON" ] && chvt "\$OLDCON"
 	BACKGROUND='--background=/etc/x2go/bg.svg'
 fi
 
@@ -141,16 +141,16 @@ if [ -n "\$SESSIONSELECT" ]; then
 fi
 if [ -n "\$BROKERURL" ]; then
 	SESSIONFROM="--broker-url=\$BROKERURL"
-else 
+else
 	SESSIONFROM="--session-conf=/etc/x2go/x2gothinclient_sessions"
 	OLDCON=''
-	while ! [ -s /etc/x2go/x2gothinclient_sessions ]; do
+	while ! [ -s "/etc/x2go/x2gothinclient_sessions" ]; do
 		[ -z "\$OLDCON" ] && OLDCON="\$(fgconsole)"
-		chvt 1
-	        echo "'\$0' is waiting for a valid '/etc/x2go/x2gothinclient_sessions' file."
-		sleep 2
+		chvt "1"
+		echo "'\$0' is waiting for a valid '/etc/x2go/x2gothinclient_sessions' file."
+		sleep "2"
 	done
-	[ -n "\$OLDCON" ] && chvt \$OLDCON
+	[ -n "\$OLDCON" ] && chvt "\$OLDCON"
 fi
 if [ -n "\$LDAP" ] ; then
 	if [ -n "\$LDAP1" ] ; then

--
Alioth's /srv/git/code.x2go.org/live-build-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list