Skip to content

Commit 765d741

Browse files
committed
Adjust checks
1 parent c791230 commit 765d741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
fi
1414
- _curl_get "${archiso_http_srv}${archisobasedir}/${arch}/airootfs.${img_type}" "/${arch}"
1515
+ _curl_get "${archiso_http_srv}/airootfs.${img_type}" "/${arch}"
16-
+ if [ ! -z "$(/bin/curl -sI "${archiso_http_srv}/airootfs.${img_type}.part2" | grep "200 OK\|302 Found" || :)" ]; then
16+
+ if [ ! -z "$(/bin/curl -sI "${archiso_http_srv}/airootfs.${img_type}.part2" | grep "HTTP/2 200\|HTTP/2 302" || :)" ]; then
1717
+ curl -L -f "${archiso_http_srv}/airootfs.${img_type}.part2" -o ->> "/run/archiso/httpspace/${archisobasedir}/${arch}/airootfs.${img_type}"
1818
+ fi
1919

0 commit comments

Comments
 (0)