Browse Source

branch password will be displayed

pull/2962/head
Daniel Gibbs 5 years ago
parent
commit
a67a0f8998
  1. 9
      lgsm/functions/core_dl.sh
  2. 12
      lgsm/functions/update_steamcmd.sh

9
lgsm/functions/core_dl.sh

@ -22,7 +22,14 @@ functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
fn_dl_steamcmd(){ fn_dl_steamcmd(){
fn_print_start_nl "${remotelocation}" fn_print_start_nl "${remotelocation}"
fn_script_log_info "${commandaction} server: ${remotelocation}" fn_script_log_info "${commandaction} server: ${remotelocation}"
if [ -n "${branch}" ]; then
echo -e "Branch: ${branch}"
fn_script_log_info "Branch: ${branch}"
fi
if [ -n "${betapassword}" ]; then
echo -e "Branch password: ${betapassword}"
fn_script_log_info "Branch password: ${betapassword}"
fi
if [ -d "${steamcmddir}" ]; then if [ -d "${steamcmddir}" ]; then
cd "${steamcmddir}" || exit cd "${steamcmddir}" || exit
fi fi

12
lgsm/functions/update_steamcmd.sh

@ -80,6 +80,9 @@ fn_update_steamcmd_compare(){
if [ -n "${branch}" ]; then if [ -n "${branch}" ]; then
echo -e "* Branch: ${branch}" echo -e "* Branch: ${branch}"
fi fi
if [ -n "${betapassword}" ]; then
echo -e "* Branch password: ${betapassword}"
fi
echo -e "https://steamdb.info/app/${appid}/" echo -e "https://steamdb.info/app/${appid}/"
echo -en "\n" echo -en "\n"
fn_script_log_info "Update available" fn_script_log_info "Update available"
@ -88,6 +91,9 @@ fn_update_steamcmd_compare(){
if [ -n "${branch}" ]; then if [ -n "${branch}" ]; then
fn_script_log_info "Branch: ${branch}" fn_script_log_info "Branch: ${branch}"
fi fi
if [ -n "${betapassword}" ]; then
fn_script_log_info "Branch password: ${betapassword}"
fi
fn_script_log_info "${localbuild} > ${remotebuild}" fn_script_log_info "${localbuild} > ${remotebuild}"
unset updateonstart unset updateonstart
@ -119,6 +125,9 @@ fn_update_steamcmd_compare(){
if [ -n "${branch}" ]; then if [ -n "${branch}" ]; then
echo -e "* Branch: ${branch}" echo -e "* Branch: ${branch}"
fi fi
if [ -n "${betapassword}" ]; then
echo -e "* Branch password: ${betapassword}"
fi
echo -e "https://steamdb.info/app/${appid}/" echo -e "https://steamdb.info/app/${appid}/"
echo -en "\n" echo -en "\n"
fn_script_log_info "No update available" fn_script_log_info "No update available"
@ -127,6 +136,9 @@ fn_update_steamcmd_compare(){
if [ -n "${branch}" ]; then if [ -n "${branch}" ]; then
fn_script_log_info "Branch: ${branch}" fn_script_log_info "Branch: ${branch}"
fi fi
if [ -n "${betapassword}" ]; then
fn_script_log_info "Branch password: ${betapassword}"
fi
fi fi
} }

Loading…
Cancel
Save