From 0d99890aa2d0cf1103571891a15407ffb86bb74a Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 28 Jul 2012 12:28:44 +0200 Subject: [PATCH] ./all update-maps: check for unzip --- misc/tools/xonotic-map-compiler-autobuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index 5884e65c..0ef0c1fe 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -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 -- 2.39.2