Skip to content

Commit

Permalink
Merge branch 'hotfix/v20.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed May 6, 2020
2 parents 57243aa + 458fec5 commit 6985449
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
11 changes: 6 additions & 5 deletions lgsm/functions/update_steamcmd.sh
Expand Up @@ -47,11 +47,6 @@ fn_update_steamcmd_localbuild(){
# Uses appmanifest to find local build.
localbuild=$(grep buildid "${appmanifestfile}" | tr '[:blank:]"' ' ' | tr -s ' ' | cut -d\ -f3)

# Removes appinfo.vdf as a fix for not always getting up to date version info from SteamCMD.
if [ -f "${HOME}/.steam/appcache/appinfo.vdf" ]; then
rm -f "${HOME}/.steam/appcache/appinfo.vdf"
fi

# Set branch for updateinfo.
IFS=' ' read -ra branchsplits <<< "${branch}"
if [ "${#branchsplits[@]}" -gt 1 ]; then
Expand All @@ -76,6 +71,12 @@ fn_update_steamcmd_remotebuild(){
if [ -d "${steamcmddir}" ]; then
cd "${steamcmddir}" || exit
fi

# Removes appinfo.vdf as a fix for not always getting up to date version info from SteamCMD.
if [ "$(find "${HOME}" -type f -name "appinfo.vdf" | wc -l)" -ne "0" ]; then
find "${HOME}" -type f -name "appinfo.vdf" -exec rm -f {} \;
fi

remotebuild=$(${steamcmdcommand} +login "${steamuser}" "${steampass}" +app_info_update 1 +app_info_print "${appid}" +quit | sed '1,/branches/d' | sed "1,/${branchname}/d" | grep -m 1 buildid | tr -cd '[:digit:]')
if [ "${installer}" != "1" ]; then
fn_print_dots "Checking remote build: ${remotelocation}"
Expand Down
2 changes: 1 addition & 1 deletion linuxgsm.sh
Expand Up @@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
set -x
fi

version="v20.2.0"
version="v20.2.1"
shortname="core"
gameservername="core"
rootdir=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_fctrserver.sh
Expand Up @@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
set -x
fi

version="v20.2.0"
version="v20.2.1"
shortname="fctr"
gameservername="fctrserver"
rootdir=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_jc2server.sh
Expand Up @@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
set -x
fi

version="v20.2.0"
version="v20.2.1"
shortname="jc2"
gameservername="jc2server"
rootdir=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_mcserver.sh
Expand Up @@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
set -x
fi

version="v20.2.0"
version="v20.2.1"
shortname="mc"
gameservername="mcserver"
rootdir=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_ts3server.sh
Expand Up @@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
set -x
fi

version="v20.2.0"
version="v20.2.1"
shortname="ts3"
gameservername="ts3server"
rootdir=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
Expand Down

0 comments on commit 6985449

Please sign in to comment.