Преглед изворни кода

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 година
родитељ
комит
cfe8b3090d
1 измењених фајлова са 3 додато и 3 уклоњено
  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
 }