capturetheflag/scripts/update.sh

16 lines
275 B
Bash
Executable File

#!/bin/bash
# Update capturetheflag
git pull
# Update all submodules
git submodule update --init --recursive
# Run post-processing actions for maps
exec scripts/setup_maps.sh
# Queue restart
if [[ -d ../../worlds/ctf ]]; then
touch ../../worlds/ctf/queue_restart.txt
fi