]> git.xonotic.org Git - xonotic/netradiant.git/commit
do not look for pack to install in already installed pack
authorThomas Debesse <dev@illwieckz.net>
Sat, 14 Oct 2017 02:01:02 +0000 (04:01 +0200)
committerThomas Debesse <dev@illwieckz.net>
Sat, 14 Oct 2017 21:28:58 +0000 (23:28 +0200)
commitc15b1c8a7855158dc5ae79dd87dc5b68e4d67031
treeb129c15efc82daffcadd2b8e9fdab55c9077ce88
parent2962913967b3c252fc87178d5bd151e81703fb5d
do not look for pack to install in already installed pack

Previously, the install-gamepacks.sh script was looking for all
subdirectories in games/ directory for *.games directory to
copy them inside games/ directory.

So, on first run,
it was looking for games/XonoticPack/xonotic.game
to copy it as games/xonotic.game

Then on second run,
it was looking for games/XonoticPack/xonotic.game
and also for games/xonotic.game/xonotic.game
which is silly.

Now the install-gamepacks.sh script is looking for games/*Pack
subdirectories only, it means all gamepacks must end with a
capitalized Pack suffix, which is already the case and is defined
in download-gamepacks.sh after all.
install-gamepacks.sh