netradiant-custom/install-gamepacks.sh
Garux 4cefcfb0a0 Fix/add gamepacks links; workarounds for some games
Updating routes.
Merge pull request #1 from NeonKnightOA/patch-2

Updating routes.
Adding remaining gamepacks with respective links and setups.
Merge pull request #2 from NeonKnightOA/patch-3

Adding remaining gamepacks with respective links and setups.
Last route fixing and updating. My bad.
Merge pull request #4 from NeonKnightOA/patch-4

Last route fixing and updating. My bad.
Last update. It is now in its own project.
Merge pull request #5 from NeonKnightOA/patch-5

Last update. It is now in its own project.
From the Xonotic version of NetRadiant (update to the Unvanquished pack).
Merge pull request #6 from NeonKnightOA/patch-6

From the Xonotic version of NetRadiant (update to the Unvanquished pa…
Even more updates and gamepacks brought from Gitlab.

Thanks to @illwieckz for this.
Even more updates + workarounds for some games.
Last of @illwieckz updates to the packs.
Merge pull request #8 from NeonKnightOA/patch-7

Even more updates and gamepacks brought from Gitlab.
Merge pull request #9 from NeonKnightOA/patch-8

Even more updates + workarounds for some games.
Merge pull request #10 from NeonKnightOA/patch-9

Last of @illwieckz updates to the packs.
2017-10-17 12:19:10 +03:00

31 lines
474 B
Bash
Executable File

#!/bin/sh
: ${ECHO:=echo}
: ${SH:=sh}
: ${CP:=cp}
: ${CP_R:=cp -r}
dest=$1
case "$DOWNLOAD_GAMEPACKS" in
yes)
LICENSEFILTER=GPL BATCH=1 $SH download-gamepacks.sh
;;
all)
BATCH=1 $SH download-gamepacks.sh
;;
*)
;;
esac
set -e
for GAME in games/*Pack; do
if [ "$GAME" = "games/*Pack" ]; then
$ECHO "Game packs not found, please run"
$ECHO " ./download-gamepacks.sh"
$ECHO "and then try again!"
else
$SH install-gamepack.sh "$GAME" "$dest"
fi
done