[X2Go-Commits] [live-build-x2go] 124/166: only rm if rsync was successful
git-admin at x2go.org
git-admin at x2go.org
Mon Nov 20 02:17:00 CET 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/mate-minidesktop
in repository live-build-x2go.
commit 2ec192132a9b3bcec6ce47ea96617297cb9dd1fd
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date: Mon Jul 24 20:20:41 2017 +0200
only rm if rsync was successful
---
config/includes.chroot/lib/live/config/2400-live-autoupdate | 2 +-
1 file changed, 1 insertion(+), 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 6b6ac3f..9392c8c 100755
--- a/config/includes.chroot/lib/live/config/2400-live-autoupdate
+++ b/config/includes.chroot/lib/live/config/2400-live-autoupdate
@@ -380,7 +380,7 @@ echo -n " live-autoupdater (backgrounding update task)"
#
echo "\n$(date +'%F | %T | ')'$0': Moving $TEMPDIR/* => $DOWNLOADPATH"
# using mv would accumulate clutter in $DOWNLOADPATH if any extra files are present in the source
- rsync -aPv --inplace --delete --modify-window=1 $TEMPDIR/ $DOWNLOADPATH/
+ rsync -aPv --inplace --delete --modify-window=1 $TEMPDIR/ $DOWNLOADPATH/ && \
rm -rf $TEMPDIR/*
if [ -n "$NTFSROOT" ]; then
echo "\n$(date +'%F | %T | ')'$0': NTFSROOT detected. Attempting to mount '/dev/disk/by-uuid/$NTFSROOT'."
--
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