Przeglądaj źródła

Switched config branch and removed token message after install

Marvin Lehmann 9 lat temu
rodzic
commit
904cd4cbec

+ 0 - 6
lgsm/functions/install_complete.sh

@@ -8,12 +8,6 @@ local commandname="INSTALL"
 local commandaction="Install"
 local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 
-if [ "${gamename}" == "Don't Starve Together" ]; then
-  echo ""
-  echo "An Authentication Token is required to run this server!"
-  echo "Follow the instructions in this link to obtain this key"
-  echo "  https://gameservermanagers.com/dst-auth-token"
-fi
 echo "================================="
 echo "Install Complete!"
 fn_script_log_info "Install Complete!"

+ 3 - 2
lgsm/functions/install_config.sh

@@ -10,11 +10,11 @@ local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 
 fn_fetch_default_config(){
 	mkdir -pv "${lgsmdir}/default-configs"
-	githuburl="https://github.com/GameServerManagers/Game-Server-Configs/dstserver"
+	githuburl="https://github.com/GameServerManagers/Game-Server-Configs/master"
 
 	for config in "${array_configs[@]}"
 	do
-		fileurl="https://raw.githubusercontent.com/GameServerManagers/Game-Server-Configs/dstserver/${gamedirname}/${config}"; filedir="${lgsmdir}/default-configs"; filename="${config}";  executecmd="noexecute" run="norun"; force="noforce"
+		fileurl="https://raw.githubusercontent.com/GameServerManagers/Game-Server-Configs/master/${gamedirname}/${config}"; filedir="${lgsmdir}/default-configs"; filename="${config}";  executecmd="noexecute" run="norun"; force="noforce"
 		fn_fetch_file "${fileurl}" "${filedir}" "${filename}" "${executecmd}" "${run}" "${force}" "${md5}"
 	done
 }
@@ -65,6 +65,7 @@ fn_default_config_remote(){
 	sleep 1
 }
 
+# this should be somehow standardized
 fn_dstconfig(){
 	## cluster.ini
 	# this config shouldn't be overridden