[X2Go-Commits] [live-build-x2go] 82/108: typo- and sloppiness-fixes

git-admin at x2go.org git-admin at x2go.org
Wed Mar 20 22:13:22 CET 2019


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 90f0c3b5dfead911022ed6c40fe8996e43fd4fe4
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Fri Jan 18 23:09:22 2019 +0000

    typo- and sloppiness-fixes
---
 config/includes.chroot/lib/live/config/2730-x2go-getxbackground | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/includes.chroot/lib/live/config/2730-x2go-getxbackground b/config/includes.chroot/lib/live/config/2730-x2go-getxbackground
index 1a0d90e..9e818a4 100755
--- a/config/includes.chroot/lib/live/config/2730-x2go-getxbackground
+++ b/config/includes.chroot/lib/live/config/2730-x2go-getxbackground
@@ -9,7 +9,7 @@ X2GoGetXROOT ()
 
 	XROOT=$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' -e 's/ \([^ "'"'"']\)/\n\1/g' /proc/cmdline | awk -F '=' '$1 == "xroot" { print $2 }' | tr -dc '0-9a-zA-Z,$-_.+!*'"'"'();/?:@=&|')
 	IMAGEDIR=/var/tmp/images/
-	mkdir $IMAGEDIR/background
+	mkdir -p $IMAGEDIR/background
 
 	if [ -n "$XROOT" ] ; then
 		cat >/etc/network/if-up.d/0430-getxroot <<GETXROOT
@@ -36,7 +36,7 @@ fi
 			XROOTSERVER=$(echo "$SINGLEROOT" | sed 's#^tftp://\([^/;]*\)/.*$#\1#' )
 			XROOTPATH=$(echo "$SINGLEROOT" | sed 's#^tftp://[^/;]*/\([^;]*\)$#\1#' )
 			if [ -n "\$XROOTSERVER" ] && [ -n "\$XROOTPATH" ] ; then
-				while ! (cd ${IMAGEDIR}/background/ && atftp "\$XROOTSERVER" -g -r "\$XROOTPATH" ; do
+				while ! (cd ${IMAGEDIR}/background/ && atftp "\$XROOTSERVER" -g -r "\$XROOTPATH") ; do
 					echo -en "\n\$(date +'%F | %T | ')still waiting for X background download (tftp) ..." | tee -a /dev/tty8
 					sleep 5
 				done

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list