mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-02-02 03:31:48 +00:00
./all update-maps: check for unzip
This commit is contained in:
parent
d8da0fb628
commit
0d99890aa2
@ -361,6 +361,10 @@ case "$1" in
|
||||
runmakeindex
|
||||
;;
|
||||
download)
|
||||
if ! which unzip >/dev/null 2>&1; then
|
||||
echo "Cannot find unzip, bailing out"
|
||||
exit 1
|
||||
fi
|
||||
if ! cd data/xonotic-maps.pk3dir >/dev/null 2>&1; then
|
||||
echo "data/xonotic-maps.pk3dir does not exist, not downloading"
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user