Kaynağa Gözat

corrected if

Daniel Gibbs 10 yıl önce
ebeveyn
işleme
a422f3c082
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      functions/install_server_files.sh

+ 2 - 2
functions/install_server_files.sh

@@ -87,11 +87,11 @@ echo ""
 echo "Installing ${gamename} Server"
 echo "================================="
 sleep 1
-if [ -z "${appid}" ]; then
+if [ -n "${appid}" ]; then
 	fn_install_server_files_steamcmd
 fi
 
-if [ ! -z "${appid}" ]||[ "${gamename}" == "GoldenEye: Source" ]; then
+if [ -z "${appid}" ]||[ "${gamename}" == "GoldenEye: Source" ]; then
 	fn_install_server_files
 fi