From 1cdef4ad59144a6ebc418f0ed02dc76aee3242bc Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Tue, 22 Dec 2015 02:40:44 +0100 Subject: [PATCH] Actually don't create config for hurtworld --- functions/fn_install_config | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/functions/fn_install_config b/functions/fn_install_config index dcd0811de..9ad27b52a 100644 --- a/functions/fn_install_config +++ b/functions/fn_install_config @@ -5,11 +5,9 @@ lgsm_version="201215" fn_defaultconfig(){ -if [ "${gamename}" != "Hurtworld" ]; then echo "creating ${servercfg} config file." cp -v "${servercfgdefault}" "${servercfgfullpath}" sleep 1 -fi } fn_userinputconfig(){ @@ -156,9 +154,12 @@ echo "" echo "Creating Configs" echo "=================================" sleep 1 -mkdir -pv "${servercfgdir}" -cd "${servercfgdir}" -githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}" +if [ "${gamename}" != "Hurtworld" ]; then + mkdir -pv "${servercfgdir}" + cd "${servercfgdir}" + githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}" +fi + if [ "${gamename}" == "7 Days To Die" ]; then fn_defaultconfig elif [ "${gamename}" == "ARK: Survivial Evolved" ]; then