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 d0b205c8d03ba91ef9e18a47da9253e7e74d866f Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Sat Jan 14 00:50:41 2017 +0100 wget output is different for ftp, changes to SIZEFACTORSTRING and DLRATE required --- config/includes.chroot/lib/live/config/2300-live-autoupdate | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/includes.chroot/lib/live/config/2300-live-autoupdate b/config/includes.chroot/lib/live/config/2300-live-autoupdate index 587a4c8..9e6a310 100755 --- a/config/includes.chroot/lib/live/config/2300-live-autoupdate +++ b/config/includes.chroot/lib/live/config/2300-live-autoupdate @@ -205,7 +205,8 @@ if echo "$DOWNLOADURL" | grep -q "^http" || \ cp --update "/tmp/x2go-tce-initrd.img" "$TEMPDIR" rm "/tmp/x2go-tce-initrd.img" SIZEFACTORSTRING=$( awk -F' |\(|\)' ' $9 == "saved" && \ - $7 == "-" { print $5 }' /tmp/dl.log \ + $7 == "-" { print $5 }' /tmp/dl.log | \ + tail -1 \ ) case $SIZEFACTORSTRING in "" | \ @@ -220,7 +221,8 @@ if echo "$DOWNLOADURL" | grep -q "^http" || \ *) SIZEFACTOR=$((1024*1024*1024));; esac DLRATE=$( awk -F' |\(|\)' ' $9 == "saved" && $7 == "-" \ - { print $4 }' /tmp/dl.log \ + { print $4 }' /tmp/dl.log | \ + tail -1 ) BWLIMIT=$( echo "$DLRATE $SIZEFACTOR $BWLIMITPERCENT" | \ awk ' { print $1*$2*$3/100 }' | \ -- 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