From a39840a401fd5ddeb3185188f0cc5262173453cc Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Mon, 10 Jul 2023 23:09:25 +0100 Subject: [PATCH] fn_check_steamcmd_appmanifest is now a full check --- lgsm/modules/check_steamcmd.sh | 1 + lgsm/modules/core_steamcmd.sh | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lgsm/modules/check_steamcmd.sh b/lgsm/modules/check_steamcmd.sh index 5d14bb21f..eb7a004ac 100644 --- a/lgsm/modules/check_steamcmd.sh +++ b/lgsm/modules/check_steamcmd.sh @@ -20,3 +20,4 @@ fn_check_steamcmd_dir_legacy fn_check_steamcmd_steamapp fn_check_steamcmd_user fn_check_steamcmd_exec +fn_check_steamcmd_appmanifest diff --git a/lgsm/modules/core_steamcmd.sh b/lgsm/modules/core_steamcmd.sh index 21832bb8a..420c983f7 100644 --- a/lgsm/modules/core_steamcmd.sh +++ b/lgsm/modules/core_steamcmd.sh @@ -147,7 +147,6 @@ fn_check_steamcmd_exec() { fn_update_steamcmd_localbuild() { # Gets local build info. fn_print_dots "Checking local build: ${remotelocation}" - fn_appmanifest_check # Uses appmanifest to find local build. localbuild=$(grep buildid "${appmanifestfile}" | tr '[:blank:]"' ' ' | tr -s ' ' | cut -d\ -f3) @@ -285,7 +284,7 @@ fn_appmanifest_info() { appmanifestfilewc=$(find -L "${serverfiles}/steamapps" -type f -name "appmanifest_${appid}.acf" | wc -l) } -fn_appmanifest_check() { +fn_check_steamcmd_appmanifest() { fn_appmanifest_info # Multiple or no matching appmanifest files may sometimes be present. if [ "${appmanifestfilewc}" -ge "2" ]; then