From: Rudolf Polzer Date: Sun, 14 Feb 2010 19:08:59 +0000 (+0100) Subject: show error about missing gamepack X-Git-Tag: xonotic-v0.5.0~287 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=41fbd079156f60e13f0f54510b05ea83221a9cda;p=xonotic%2Fnetradiant.git show error about missing gamepack --- diff --git a/Makefile b/Makefile index 3bfdfa19..376b619c 100644 --- a/Makefile +++ b/Makefile @@ -958,7 +958,13 @@ install-data: binaries [ "$(OS)" != "Darwin" ] || $(CP_R) setup/data/osx/NetRadiant.app/* $(INSTALLDIR_BASE)/NetRadiant.app/ set -ex; \ for GAME in games/*; do \ - CP="$(CP)" CP_R="$(CP_R)" $(SH) install-gamepack.sh "$$GAME" "$(INSTALLDIR)"; \ + if [ "$$GAME" = "games/*" ]; then \ + $(ECHO) "Game packs not found, please run"; \ + $(ECHO) " ./download-gamepacks.sh"; \ + $(ECHO) "and then try again!"; \ + else \ + CP="$(CP)" CP_R="$(CP_R)" $(SH) install-gamepack.sh "$$GAME" "$(INSTALLDIR)"; \ + fi; \ done $(ECHO) $(RADIANT_MINOR_VERSION) > $(INSTALLDIR)/RADIANT_MINOR $(ECHO) $(RADIANT_MAJOR_VERSION) > $(INSTALLDIR)/RADIANT_MAJOR