From: divverent Date: Wed, 13 Jan 2010 14:37:46 +0000 (+0000) Subject: add warning for missing game packs X-Git-Tag: svn-r421~1 X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=c07007fb1ec011435f8fa2ef8b80b1943046d4fc;p=xonotic%2Fnetradiant.git add warning for missing game packs git-svn-id: svn://svn.icculus.org/netradiant/trunk@419 61c419a2-8eb2-4b30-bcec-8cead039b335 --- diff --git a/Makefile b/Makefile index eb164622..e0de1809 100644 --- a/Makefile +++ b/Makefile @@ -958,6 +958,10 @@ install-data: binaries [ "$(OS)" != "Darwin" ] || $(CP_R) setup/data/osx/NetRadiant.app/* $(INSTALLDIR_BASE)/NetRadiant.app/ set -ex; \ for GAME in games/*; do \ + if [ x"$$GAME" = x"games/*" ]; then \ + echo; echo "*** NO GAME PACKS FOUND ***"; echo "Please run download-gamepacks.sh and try again."; echo; echo; \ + continue; \ + fi; \ if [ -d "$$GAME/tools" ]; then \ GAME=$$GAME/tools; \ fi; \