[X2Go-Commits] [live-build-x2go] 71/108: typofix, also, silence wget and make it only download newer files than the ones already present

git-admin at x2go.org git-admin at x2go.org
Wed Mar 20 22:13:19 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 f97a97a88e79e4f21cfa712fadbe2a975c6e22de
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Sun Jan 6 21:13:08 2019 +0000

    typofix, also, silence wget and make it only download newer files than the ones already present
---
 config/includes.chroot/etc/X11/Xsession.d/60x11-set-background | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/includes.chroot/etc/X11/Xsession.d/60x11-set-background b/config/includes.chroot/etc/X11/Xsession.d/60x11-set-background
index 9d932af..1643523 100644
--- a/config/includes.chroot/etc/X11/Xsession.d/60x11-set-background
+++ b/config/includes.chroot/etc/X11/Xsession.d/60x11-set-background
@@ -19,7 +19,7 @@ if [ -n "$XROOT" ] ; then
 	elif echo "$XROOT" | grep -q "://" ; then
 		# this could be an URI
 		# TODO move this download part to an earlier script
-		wget -P $IMAGEDIR/background/ ${XROOT/|/ }
+		wget -q -P $IMAGEDIR/background/ -N ${XROOT//|/ }
 		if [ $(ls $IMAGEDIR 2>/dev/null| wc -l) -gt 0 ] ; then
 			#input validation
 			case "${XROOTMODE,,}" in # force lowercase

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