소스 검색

Check if configuration directory exists before downloading and moving config files

Chaos 9 년 전
부모
커밋
784a6ff268
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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