Skip to content

Commit d099e7e

Browse files
authored
feat: steamcmd install now goes via update_steamcmd.sh (#4165)
now goes via update_steamcmd.sh
1 parent 0dfc510 commit d099e7e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lgsm/functions/install_server_files.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@ fn_sleep_time
212212

213213
if [ "${appid}" ]; then
214214
remotelocation="SteamCMD"
215-
fn_dl_steamcmd
215+
forceupdate=1
216+
update_steamcmd.sh
216217
fi
217218

218219
if [ "${shortname}" == "ts3" ]; then

lgsm/functions/update_steamcmd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fn_print_dots "${remotelocation}"
1818

1919
if [ "${forceupdate}" == "1" ]; then
2020
# forceupdate bypasses update checks.
21-
if [ "${status}" != "0" ]; then
21+
if [ "${status}" != "0" ]&&[ -v "${status}" ]; then
2222
fn_print_restart_warning
2323
exitbypass=1
2424
command_stop.sh

0 commit comments

Comments
 (0)