Browse Source

better placement for not creating HW config

UltimateByte 10 năm trước cách đây
mục cha
commit
5ac2e43099
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      functions/fn_install_config

+ 1 - 1
functions/fn_install_config

@@ -151,10 +151,10 @@ echo ""
 }
 
 echo ""
+if [ "${gamename}" != "Hurtworld" ]; then
 echo "Creating Configs"
 echo "================================="
 sleep 1
-if [ "${gamename}" != "Hurtworld" ]; then
 	mkdir -pv "${servercfgdir}"
 	cd "${servercfgdir}"
 	githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}"