Kaynağa Gözat

fix(bd): install loop due old condition and config (#3962)

Christian 3 yıl önce
ebeveyn
işleme
50c2cef8a6

+ 1 - 1
lgsm/functions/install_config.sh

@@ -217,7 +217,7 @@ elif [ "${shortname}" == "bo" ]; then
 	fn_default_config_remote
 	fn_set_config_vars
 	fn_list_config_locations
-elif [ "${shortname}" == "bo" ]; then
+elif [ "${shortname}" == "bd" ]; then
 	gamedirname="BaseDefense"
 	array_configs+=(server.cfg)
 	fn_fetch_default_config

+ 1 - 1
lgsm/functions/install_server_files.sh

@@ -235,7 +235,7 @@ elif [ "${shortname}" == "jk2" ]; then
 	update_jediknight2.sh
 elif [ "${shortname}" == "vints" ]; then
 	update_vintagestory.sh
-elif [ -z "${appid}" ] || [ "${shortname}" == "ahl" ] || [ "${shortname}" == "bd" ] || [ "${shortname}" == "bb" ] || [ "${shortname}" == "ns" ] || [ "${shortname}" == "sfc" ] || [ "${shortname}" == "ts" ] || [ "${shortname}" == "vs" ] || [ "${shortname}" == "zmr" ]; then
+elif [ -z "${appid}" ] || [ "${shortname}" == "ahl" ] || [ "${shortname}" == "bb" ] || [ "${shortname}" == "ns" ] || [ "${shortname}" == "sfc" ] || [ "${shortname}" == "ts" ] || [ "${shortname}" == "vs" ] || [ "${shortname}" == "zmr" ]; then
 	if [ "${shortname}" == "ut" ]; then
 		install_eula.sh
 	fi