diff --git a/update.sh b/update.sh index 492cd5f..057eb30 100755 --- a/update.sh +++ b/update.sh @@ -164,7 +164,7 @@ for object in $(echo "$stuff_download" | select_word 1); do objectname="$(basename "$objecturl")"; objectfile="$tmpdir/$objectname"; echo " ---- Downloading $objecturl"; - curl -fL "$objecturl" -o "$objectfile" || { echo "ERROR: $object failed to download"; continue; } + wget "$objecturl" -O "$objectfile" || { echo "ERROR: $object failed to download"; continue; } objectcksum="$(cksum "$objectfile" | select_word 1)"; echo "FILE: $object, URL: $objecturl, CKSUM: $objectcksum;" >> "$updatelog"; ;;