This commit is contained in:
Mario Fetka 2017-04-25 10:22:55 +02:00
parent b262142f9c
commit 1a31564dc9
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ while IFS=! read type app version outputfile url md5
do
echo "Downloading $app Version: $version"
#use -O for output file. define $outputfile yourself
wget --no-check-certificate --tries=1 -O $DIR/../$outputfile --timeout=5 "$url"
wget -c --no-check-certificate --tries=1 -O $DIR/../$outputfile --timeout=5 "$url"
# use $(..) instead of backticks.
calculated_md5=$(md5sum "$DIR/../$outputfile" | cut -f 1 -d " ")
# compare md5

View File

@ -1,2 +1,2 @@
amd64!storcli!1.21.6.1!1.21.16_StorCLI.zip!https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/1.21.16_StorCLI.zip!c2689d7b1975c28474df13e07d0909a2
i386!storcli!1.21.6.1!1.21.16_StorCLI.zip!https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/1.21.16_StorCLI.zip!c2689d7b1975c28474df13e07d0909a2
amd64!storcli!1.21.16!1.21.16_StorCLI.zip!https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/1.21.16_StorCLI.zip!c2689d7b1975c28474df13e07d0909a2
i386!storcli!1.21.16!1.21.16_StorCLI.zip!https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/1.21.16_StorCLI.zip!c2689d7b1975c28474df13e07d0909a2