Skip to content

Commit 5e1c8e4

Browse files
committed
Update var
1 parent d9b6c7e commit 5e1c8e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: root/patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
log_begin_msg "Trying wget ${url} -O ${dest}/$(basename ${url})"
77
- wget "${url}" -O "${dest}/$(basename ${url})"
88
+ /bin/curl -L "${url}" -o "${dest}/$(basename ${url})"
9-
+ for n in $(seq 2 10); do
9+
+ for partNum in $(seq 2 10); do
1010
+ if [ ! -z "$(/bin/curl -sI "${url}.part${partNum}" | grep "200 OK\|302 Found" || :)" ]; then
1111
+ /bin/curl -L "${url}.part${partNum}" -o ->> "${dest}/$(basename ${url})";
1212
+ else

0 commit comments

Comments
 (0)