+ default server.cfg used from this repo

This commit is contained in:
Lucas Briese 2018-09-19 23:10:57 +02:00
parent 5f8686d97b
commit fa66695b59

View File

@ -2,6 +2,13 @@
set -e
#create default server.config
#TODO don't miss to change to master!
if [ ! -e "{$SERVER_PATH}/garrysmod/cfg/server.cfg" ]; then
mkdir -p "{$SERVER_PATH}/garrysmod/cfg"
wget -O "{$SERVER_PATH}/garrysmod/cfg/server.cfg" "https://raw.githubusercontent.com/jusito/docker-ttt/develop/server.cfg"
fi
#this is a simple option for myself, but you can use it too
if [ "$USE_MY_REPLACER_CONFIG" = "true" ]; then
mkdir -p "{$SERVER_PATH}/garrysmod/data/jusito_ttt_entity_replace"