From fa66695b598dc3d2100a71ea81a27ccb593144e6 Mon Sep 17 00:00:00 2001 From: Lucas Briese Date: Wed, 19 Sep 2018 23:10:57 +0200 Subject: [PATCH] + default server.cfg used from this repo --- experimental.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/experimental.sh b/experimental.sh index 295c655..51c7081 100644 --- a/experimental.sh +++ b/experimental.sh @@ -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"