don't rely on HEAD binary, arch doesn't have it. Use lwp-request HEAD.

This commit is contained in:
Rudolf Polzer 2011-12-01 13:33:51 +01:00
parent 50596fd505
commit 8dbd804460

View File

@ -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