From 20a081e61dd290be90a946a1d91b5e2e22b19607 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 7 Oct 2018 23:37:43 +0100 Subject: [PATCH] changed from goldsource to appid 90 --- lgsm/functions/command_validate.sh | 2 +- lgsm/functions/install_server_files.sh | 2 +- lgsm/functions/update_steamcmd.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lgsm/functions/command_validate.sh b/lgsm/functions/command_validate.sh index 78fd28f38..a93d59d66 100644 --- a/lgsm/functions/command_validate.sh +++ b/lgsm/functions/command_validate.sh @@ -25,7 +25,7 @@ fn_validation(){ unbuffer="stdbuf -i0 -o0 -e0" fi - if [ "${engine}" == "goldsource" ]; then + if [ "${appid}" == "90" ]; then ${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_info_print 70 +app_set_config 90 mod "${appidmod}" +app_update "${appid}" ${branch} +app_update "${appid}" ${branch} validate +quit | tee -a "${lgsmlog}" else ${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_update "${appid}" ${branch} validate +quit | tee -a "${lgsmlog}" diff --git a/lgsm/functions/install_server_files.sh b/lgsm/functions/install_server_files.sh index 31a2ece03..a67045747 100644 --- a/lgsm/functions/install_server_files.sh +++ b/lgsm/functions/install_server_files.sh @@ -87,7 +87,7 @@ fn_install_server_files_steamcmd(){ fi if [ "${counter}" -le "4" ]; then - if [ "${engine}" == "goldsource" ]; then + if [ "${appid}" == "90" ]; then ${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_info_print 70 +app_set_config 90 mod "${appidmod}" +app_update "${appid}" ${branch} +quit local exitcode=$? else diff --git a/lgsm/functions/update_steamcmd.sh b/lgsm/functions/update_steamcmd.sh index c0fc89691..dbcf3736e 100644 --- a/lgsm/functions/update_steamcmd.sh +++ b/lgsm/functions/update_steamcmd.sh @@ -26,7 +26,7 @@ fn_update_steamcmd_dl(){ fi cd "${steamcmddir}" || exit - if [ "${engine}" == "goldsource" ]; then + if [ "${appid}" == "90" ]; then ${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_info_print 70 +app_set_config 90 mod "${appidmod}" +app_update "${appid}" ${branch} +quit | tee -a "${lgsmlog}" else ${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_update "${appid}" ${branch} +quit | tee -a "${lgsmlog}"