Browse Source

fix: update warning message for missing SteamCMD

The commit updates the warning message in the code to indicate that SteamCMD is not installed instead of being missing. Additionally, it modifies the log message accordingly.
Daniel Gibbs 2 năm trước cách đây
mục cha
commit
cfe8b3090d
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      lgsm/modules/core_steamcmd.sh

+ 3 - 3
lgsm/modules/core_steamcmd.sh

@@ -46,12 +46,12 @@ fn_check_steamcmd() {
 		if [ "${commandname}" == "INSTALL" ]; then
 			fn_install_steamcmd
 		else
-			fn_print_warn_nl "SteamCMD is missing"
-			fn_script_log_warn "SteamCMD is missing"
+			fn_print_warn_nl "SteamCMD is not installed"
+			fn_script_log_warn "SteamCMD is not installed"
 			fn_install_steamcmd
 		fi
 	elif [ "${commandname}" == "INSTALL" ]; then
-		echo -e "SteamCMD is already installed"
+		echo -en "SteamCMD is already installed"
 		fn_print_skip_eol_nl
 	fi
 }