Browse Source

Actually don't create config for hurtworld

pull/573/head^2
UltimateByte 9 years ago
parent
commit
1cdef4ad59
  1. 11
      functions/fn_install_config

11
functions/fn_install_config

@ -5,11 +5,9 @@
lgsm_version="201215" lgsm_version="201215"
fn_defaultconfig(){ fn_defaultconfig(){
if [ "${gamename}" != "Hurtworld" ]; then
echo "creating ${servercfg} config file." echo "creating ${servercfg} config file."
cp -v "${servercfgdefault}" "${servercfgfullpath}" cp -v "${servercfgdefault}" "${servercfgfullpath}"
sleep 1 sleep 1
fi
} }
fn_userinputconfig(){ fn_userinputconfig(){
@ -156,9 +154,12 @@ echo ""
echo "Creating Configs" echo "Creating Configs"
echo "=================================" echo "================================="
sleep 1 sleep 1
mkdir -pv "${servercfgdir}" if [ "${gamename}" != "Hurtworld" ]; then
cd "${servercfgdir}" mkdir -pv "${servercfgdir}"
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}" cd "${servercfgdir}"
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}"
fi
if [ "${gamename}" == "7 Days To Die" ]; then if [ "${gamename}" == "7 Days To Die" ]; then
fn_defaultconfig fn_defaultconfig
elif [ "${gamename}" == "ARK: Survivial Evolved" ]; then elif [ "${gamename}" == "ARK: Survivial Evolved" ]; then

Loading…
Cancel
Save