Browse Source
During update, check against branch being public.
This change fixes the update command for those on public branches. Possibly needs testing and confirmation.
pull/3130/head
Arron Vinyard
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
lgsm/functions/update_steamcmd.sh
|
|
@ -42,7 +42,7 @@ fn_update_steamcmd_remotebuild(){ |
|
|
|
|
|
|
|
if [ -n "${branch}" ]&&[ -n "${betapassword}" ]; then |
|
|
|
remotebuild=$(${steamcmdcommand} +login "${steamuser}" "${steampass}" +app_info_update 1 +app_info_print "${appid}" -beta "${branch}" -betapassword "${betapassword}" +quit | sed '1,/branches/d' | sed "1,/${branch}/d" | grep -m 1 buildid | tr -cd '[:digit:]') |
|
|
|
elif [ -n "${branch}" ]; then |
|
|
|
elif [ -n "${branch}" ]&&[ "${branch}" != "public" ]; then |
|
|
|
remotebuild=$(${steamcmdcommand} +login "${steamuser}" "${steampass}" +app_info_update 1 +app_info_print "${appid}" -beta "${branch}" +quit | sed '1,/branches/d' | sed "1,/${branch}/d" | grep -m 1 buildid | tr -cd '[:digit:]') |
|
|
|
else |
|
|
|
remotebuild=$(${steamcmdcommand} +login "${steamuser}" "${steampass}" +app_info_update 1 +app_info_print "${appid}" +quit | sed '1,/branches/d' | sed "1,/${branch}/d" | grep -m 1 buildid | tr -cd '[:digit:]') |
|
|
|