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.
feature/dst-changes
Daniel Gibbs 2 years ago
parent
commit
cfe8b3090d
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 6
      lgsm/modules/core_steamcmd.sh

6
lgsm/modules/core_steamcmd.sh

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

Loading…
Cancel
Save