Skip to content

Commit

Permalink
Update var
Browse files Browse the repository at this point in the history
  • Loading branch information
antonym committed Mar 6, 2025
1 parent d9b6c7e commit 5e1c8e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/patch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
log_begin_msg "Trying wget ${url} -O ${dest}/$(basename ${url})"
- wget "${url}" -O "${dest}/$(basename ${url})"
+ /bin/curl -L "${url}" -o "${dest}/$(basename ${url})"
+ for n in $(seq 2 10); do
+ for partNum in $(seq 2 10); do
+ if [ ! -z "$(/bin/curl -sI "${url}.part${partNum}" | grep "200 OK\|302 Found" || :)" ]; then
+ /bin/curl -L "${url}.part${partNum}" -o ->> "${dest}/$(basename ${url})";
+ else
Expand Down

0 comments on commit 5e1c8e4

Please sign in to comment.