Browse Source

if

pull/2962/head
Daniel Gibbs 5 years ago
parent
commit
c2d85a4648
  1. 6
      lgsm/functions/update_steamcmd.sh

6
lgsm/functions/update_steamcmd.sh

@ -80,7 +80,7 @@ fn_update_steamcmd_compare(){
echo -e "Update available"
echo -e "* Local build: ${red}${localbuild}${default}"
echo -e "* Remote build: ${green}${remotebuild}${default}"
if [ -v "${branch}" ]; then
if [ -n "${branch}" ]; then
echo -e "* Branch: ${branch}"
fi
echo -e "https://steamdb.info/app/${appid}/"
@ -119,7 +119,7 @@ fn_update_steamcmd_compare(){
echo -e "No update available"
echo -e "* Local build: ${green}${localbuild}${default}"
echo -e "* Remote build: ${green}${remotebuild}${default}"
if [ -v "${branch}" ]; then
if [ -n "${branch}" ]; then
echo -e "* Branch: ${branch}"
fi
echo -e "https://steamdb.info/app/${appid}/"
@ -127,7 +127,7 @@ fn_update_steamcmd_compare(){
fn_script_log_info "No update available"
fn_script_log_info "Local build: ${localbuild}"
fn_script_log_info "Remote build: ${remotebuild}"
if [ -v "${branch}" ]; then
if [ -n "${branch}" ]; then
fn_script_log_info "Branch: ${branch}"
fi
fi

Loading…
Cancel
Save