mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-02-20 20:46:52 +00:00
Merge remote branch 'refs/remotes/origin/merlijn/download-script-fix'
This commit is contained in:
commit
51daeceaac
@ -154,9 +154,11 @@ getthemap()
|
||||
continue
|
||||
fi
|
||||
if ! wget -O "$bspdir/$M-$blobhash.pk3" "$url$M-$blobhash.pk3"; then
|
||||
rm -f "$bspdir/$M-$blobhash.pk3"
|
||||
echo "WARNING: could not download $url$M-$blobhash.pk3, maybe not ready yet"
|
||||
return 0
|
||||
if ! curl -o "$bspdir/$M-$blobhash.pk3" "$url$M-$blobhash.pk3"; then
|
||||
rm -f "$bspdir/$M-$blobhash.pk3"
|
||||
echo "WARNING: could not download $url$M-$blobhash.pk3, maybe not ready yet"
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
if ! unzip -l "$bspdir/$M-$blobhash.pk3"; then
|
||||
rm -f "$bspdir/$M-$blobhash.pk3"
|
||||
|
Loading…
Reference in New Issue
Block a user