Resume interrupted downloads in shell cookbook

This commit is contained in:
mattmadeofpasta 2023-11-25 15:39:19 +00:00
parent 14c5db985f
commit 084a4dedf7
No known key found for this signature in database
GPG Key ID: 020D6BD1B8975037

View File

@ -88,7 +88,8 @@ function op {
then
if [ ! -f source.tar ]
then
wget "$TAR" --continue -O source.tar
wget "$TAR" --continue -O source.tar.tmp
mv source.tar.tmp source.tar
fi
if [ -n "$TAR_SHA256" ]