[packages/google-chrome] resume doesn't really work; wget doesn't notice when new primary.xml.gz appears on google web server

arekm arekm at pld-linux.org
Wed May 18 07:01:34 CEST 2016


commit 440012b58962fcd3a83a689fd762e1210d8ab790
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed May 18 07:01:27 2016 +0200

    resume doesn't really work; wget doesn't notice when new primary.xml.gz appears on google web servers and doesn't download it

 update-source.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/update-source.sh b/update-source.sh
index 7c145a1..888b96f 100755
--- a/update-source.sh
+++ b/update-source.sh
@@ -41,7 +41,7 @@ t=$(mktemp)
 repodata=primary-$branch-$(date +%Y%m%d).xml
 [ "$cache" = "yes" ] || rm -f "$repodata"
 test -e $repodata || {
-	wget -c $sourceurl/repodata/primary.xml.gz -O $repodata.gz
+	wget $sourceurl/repodata/primary.xml.gz -O $repodata.gz
 	gzip -dc $repodata.gz > $repodata || test -s $repodata
 }
 perl -ne 'm{<name>google-'$product-$branch'</name>} and m{<version epoch="0" ver="([\d.]+)" rel="(\d+)"/>} and print "$1 $2"' > $t < $repodata
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/google-chrome.git/commitdiff/440012b58962fcd3a83a689fd762e1210d8ab790



More information about the pld-cvs-commit mailing list