nuclide/get_gamepacks.sh
Marco Hladik d58e653e08 func_train: Make sure we trigger PathDone() BEFRE switching to the new node
and remove the targetname check for PC_WAIT/TRAIN_WAIT spawnflags
2021-03-12 02:48:08 +01:00

26 lines
722 B
Bash
Executable file

#!/bin/sh
set -e
SCRPATH="$( cd "$( dirname $(readlink -nf $0) )" && pwd )"
grab_mod()
{
if [ -f "$SCRPATH/$1"/LICENSE ]; then
cd "$SCRPATH/$1"
git pull
else
cd "$SCRPATH"
git clone "$2" "$1"
fi
cd "$SCRPATH"
wget -O $1.fmf http://www.frag-net.com/mods/$1.fmf
}
grab_mod gearbox https://www.github.com/eukara/freegearbox
grab_mod rewolf https://www.github.com/eukara/freegunman
grab_mod poke646 https://www.github.com/eukara/freepoke646
grab_mod tfc https://www.github.com/eukara/freetfc
grab_mod scihunt https://www.github.com/eukara/freesci
grab_mod hunger https://www.github.com/eukara/freehunger
grab_mod valve https://www.github.com/eukara/freehl
grab_mod cstrike https://www.github.com/eukara/freecs