mirror of
https://gitlab.com/xonotic/xonotic
synced 2024-12-15 19:35:24 +00:00
don't rely on HEAD binary, arch doesn't have it. Use lwp-request HEAD.
This commit is contained in:
parent
50596fd505
commit
8dbd804460
@ -163,7 +163,7 @@ buildthemap()
|
||||
M=$3
|
||||
blobhash=$4
|
||||
commithash=$5
|
||||
if HEAD "$url$M-$blobhash.pk3"; then
|
||||
if lwp-request -m HEAD "$url$M-$blobhash.pk3"; then
|
||||
continue
|
||||
fi
|
||||
|
||||
@ -213,7 +213,7 @@ screenshotthemap()
|
||||
M=$3
|
||||
blobhash=$4
|
||||
commithash=$5
|
||||
if HEAD "$url$M-$blobhash/"; then
|
||||
if lwp-request -m HEAD "$url$M-$blobhash/"; then
|
||||
continue
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user