[X2Go-Commits] [live-build-x2go] 86/167: added steps to further reduce clutter buildup, changed/improved logging
git-admin at x2go.org
git-admin at x2go.org
Sat Nov 18 00:32:47 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 5bd4fdfdf2384d37fcb97338c87b196a2a3ff058
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date: Tue Jul 25 12:19:43 2017 +0200
added steps to further reduce clutter buildup, changed/improved logging
---
config/includes.chroot/lib/live/config/2400-live-autoupdate | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/config/includes.chroot/lib/live/config/2400-live-autoupdate b/config/includes.chroot/lib/live/config/2400-live-autoupdate
index 7d6d4db..7418e2e 100755
--- a/config/includes.chroot/lib/live/config/2400-live-autoupdate
+++ b/config/includes.chroot/lib/live/config/2400-live-autoupdate
@@ -424,13 +424,19 @@ echo -n " live-autoupdater (backgrounding update task)"
return 0 # OTHERSYSTEMFULLPATH is already up to date
else
# keep rsyncing until the update is complete
- echo -n "\n$(date +'%F | %T | ')'$0': Copying $DOWNLOADPATH/ => $OTHERSYSTEMFULLPATH"
+ echo -n "\n$(date +'%F | %T | ')'$0': Copying $DOWNLOADPATH/ => $OTHERSYSTEMFULLPATH ..."
while ! rsync -aPv --inplace --modify-window=1 $DOWNLOADPATH/ $OTHERSYSTEMFULLPATH
do
echo -n "\n$(date +'%F | %T | ')'$0': Sleeping 30 seconds ..."
sleep 30
echo -n "\n$(date +'%F | %T | ')'$0': Retrying ..."
done
+ echo -n "\n$(date +'%F | %T | ')'$0': done."
+ if rm -rf $DOWNLOADPATH/* ; then
+ echo -n "\n$(date +'%F | %T | ')'$0': INFO: purged download directory to avoid clutter buildup."
+ else
+ echo -n "\n$(date +'%F | %T | ')'$0': ERROR: unable to purge download directory."
+ fi
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