Browse Source

Add ${branch} to validate

It's useful to use ${branch} to set beta builds, its avaliable on the install command but missing in the validate command here
pull/898/head
Marek Roszko 9 years ago
committed by GitHub
parent
commit
d1cf0a9c48
  1. 2
      lgsm/functions/command_validate.sh

2
lgsm/functions/command_validate.sh

@ -29,7 +29,7 @@ fn_validation(){
if [ "${engine}" == "goldsource" ]; then
${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_set_config 90 mod ${appidmod} +app_update "${appid}" +app_update "${appid}" validate +quit| tee -a "${scriptlog}"
else
${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_update "${appid}" validate +quit| tee -a "${scriptlog}"
${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_update "${appid}" ${branch} validate +quit| tee -a "${scriptlog}"
fi
fix.sh

Loading…
Cancel
Save