Browse Source

fix: fix missing SharedDepots in appmanifest_90.acf

The code changes fix a bug where the SharedDepots entry was missing from the appmanifest_90.acf file. The commit updates the error messages and logs to reflect the correct filename. Additionally, it forces an update to resolve the issue.
pull/4297/head
Daniel Gibbs 2 years ago
parent
commit
107b7a9cb0
  1. 4
      lgsm/modules/core_steamcmd.sh

4
lgsm/modules/core_steamcmd.sh

@ -352,8 +352,8 @@ fn_check_steamcmd_appmanifest() {
if [ "${engine}" == "goldsrc" ]; then
shareddepotsexists=$(grep -c SharedDepots "${serverfiles}/steamapps/appmanifest_90.acf")
if [ ! -f "${serverfiles}/steamapps/appmanifest_90.acf" ] || [ "${shareddepotsexists}" == "0" ]; then
fn_print_error_nl "SharedDepots missing from appmanifest_${appid}.acf"
fn_script_log_error "SharedDepots missing from appmanifest_${appid}.acf"
fn_print_error_nl "SharedDepots missing from appmanifest_90.acf"
fn_script_log_error "SharedDepots missing from appmanifest_90.acf"
fn_print_info_nl "Forcing update to correct issue"
fn_script_log_info "Forcing update to correct issue"
if [ "${shortname}" == "ahl" ]; then

Loading…
Cancel
Save