[X2Go-Commits] [live-build-x2go] 118/167: inverted if condition, no need for a "!" here ...

git-admin at x2go.org git-admin at x2go.org
Sat Nov 18 00:32:53 CET 2017


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

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

commit 208e8cd391d7773bff8a53b02e1f73d8171f3801
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Sat Sep 16 18:35:18 2017 +0200

    inverted if condition, no need for a "!" here ...
---
 config/includes.chroot/lib/live/config/2710-x2go-getbranding | 2 +-
 config/includes.chroot/lib/live/config/2720-x2go-getbg       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/includes.chroot/lib/live/config/2710-x2go-getbranding b/config/includes.chroot/lib/live/config/2710-x2go-getbranding
index 39dfc5a..f652c2f 100755
--- a/config/includes.chroot/lib/live/config/2710-x2go-getbranding
+++ b/config/includes.chroot/lib/live/config/2710-x2go-getbranding
@@ -49,7 +49,7 @@ fi
 	fi
 
 	echo -en "\n\$(date +'%F | %T | ')'\$0': branding SVG download complete." | tee -a /dev/tty8
-	if ! [ -s ${BRANDINGDESTINATION}.tmp ] ; then
+	if [ -s ${BRANDINGDESTINATION}.tmp ] ; then
 		mv ${BRANDINGDESTINATION}.tmp $BRANDINGDESTINATION
 	fi
 ) &
diff --git a/config/includes.chroot/lib/live/config/2720-x2go-getbg b/config/includes.chroot/lib/live/config/2720-x2go-getbg
index ccbf90a..a3855be 100755
--- a/config/includes.chroot/lib/live/config/2720-x2go-getbg
+++ b/config/includes.chroot/lib/live/config/2720-x2go-getbg
@@ -49,7 +49,7 @@ fi
 	fi
 
 	echo -en "\n\$(date +'%F | %T | ')'\$0': background SVG download complete." | tee -a /dev/tty8
-	if ! [ -s ${BGDESTINATION}.tmp ] ; then
+	if [ -s ${BGDESTINATION}.tmp ] ; then
 		mv ${BGDESTINATION}.tmp $BGDESTINATION
 	fi
 ) &

--
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