Skip to content
Snippets Groups Projects
Verified Commit 084a4ded authored by mattmadeofpasta's avatar mattmadeofpasta
Browse files

Resume interrupted downloads in shell cookbook

parent 14c5db98
No related branches found
No related tags found
1 merge request!320Resume interrupted downloads in shell cookbook
...@@ -88,7 +88,8 @@ function op { ...@@ -88,7 +88,8 @@ function op {
then then
if [ ! -f source.tar ] if [ ! -f source.tar ]
then then
wget "$TAR" --continue -O source.tar wget "$TAR" --continue -O source.tar.tmp
mv source.tar.tmp source.tar
fi fi
if [ -n "$TAR_SHA256" ] if [ -n "$TAR_SHA256" ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment