Browse Source

feat: steamcmd install now goes via update_steamcmd.sh (#4165)

now goes via update_steamcmd.sh
pull/4178/head
Daniel Gibbs 2 years ago
committed by GitHub
parent
commit
d099e7ef72
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      lgsm/functions/install_server_files.sh
  2. 2
      lgsm/functions/update_steamcmd.sh

3
lgsm/functions/install_server_files.sh

@ -212,7 +212,8 @@ fn_sleep_time
if [ "${appid}" ]; then if [ "${appid}" ]; then
remotelocation="SteamCMD" remotelocation="SteamCMD"
fn_dl_steamcmd forceupdate=1
update_steamcmd.sh
fi fi
if [ "${shortname}" == "ts3" ]; then if [ "${shortname}" == "ts3" ]; then

2
lgsm/functions/update_steamcmd.sh

@ -18,7 +18,7 @@ fn_print_dots "${remotelocation}"
if [ "${forceupdate}" == "1" ]; then if [ "${forceupdate}" == "1" ]; then
# forceupdate bypasses update checks. # forceupdate bypasses update checks.
if [ "${status}" != "0" ]; then if [ "${status}" != "0" ]&&[ -v "${status}" ]; then
fn_print_restart_warning fn_print_restart_warning
exitbypass=1 exitbypass=1
command_stop.sh command_stop.sh

Loading…
Cancel
Save