Use curl in download retry helper (#1079)
This commit is contained in:
@@ -16,8 +16,7 @@ download_with_retries() {
|
||||
i=20
|
||||
while [ $i -gt 0 ]; do
|
||||
((i--))
|
||||
wget $URL --output-document="$DEST/$NAME" \
|
||||
--no-verbose
|
||||
curl $URL -4 -s -o "$DEST/$NAME"
|
||||
if [ $? != 0 ]; then
|
||||
sleep 30
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user