Explorar o código

Check if configuration directory exists before downloading and moving config files

Chaos %!s(int64=9) %!d(string=hai) anos
pai
achega
784a6ff268
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lgsm/functions/install_config.sh

+ 1 - 0
lgsm/functions/install_config.sh

@@ -490,6 +490,7 @@ elif [ "${gamename}" == "Wolfenstein: Enemy Territory" ]; then
 	fn_set_config_vars
 elif [ "${gamename}" == "Multi Theft Auto" ]; then
 	gamedirname="MultiTheftAuto"
+	fn_check_cfgdir
 	array_configs+=( acl.xml mtaserver.conf vehiclecolors.conf )
 	fn_fetch_default_config
 	fn_default_config_remote