From 305a3e819a8005bf46b30d2cf2e2cc8eb35c9578 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 17 Dec 2017 12:05:29 +0000 Subject: [PATCH] Added details of factorio branch to the updater --- lgsm/functions/update_factorio.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lgsm/functions/update_factorio.sh b/lgsm/functions/update_factorio.sh index b8d452012..d9e7ab017 100644 --- a/lgsm/functions/update_factorio.sh +++ b/lgsm/functions/update_factorio.sh @@ -108,8 +108,8 @@ fn_update_factorio_compare(){ echo -e "\n" echo -e "Update available:" sleep 1 - echo -e " Current build: ${red}${currentbuild} ${factorioarch}${default}" - echo -e " Available build: ${green}${availablebuild} ${factorioarch}${default}" + echo -e " Current build: ${red}${currentbuild} ${factorioarch} ${branch} ${default}" + echo -e " Available build: ${green}${availablebuild} ${factorioarch} ${branch}${default}" echo -e "" sleep 1 echo "" @@ -121,8 +121,8 @@ fn_update_factorio_compare(){ sleep 1 echo -en "\n" fn_script_log "Update available" - fn_script_log "Current build: ${currentbuild}" - fn_script_log "Available build: ${availablebuild}" + fn_script_log "Current build: ${currentbuild} ${factorioarch}${branch}" + fn_script_log "Available build: ${availablebuild} ${factorioarch}${branch}" fn_script_log "${currentbuild} > ${availablebuild}" unset updateonstart @@ -146,12 +146,12 @@ fn_update_factorio_compare(){ else echo -e "\n" echo -e "No update available:" - echo -e " Current version: ${green}${currentbuild}${default}" - echo -e " Available version: ${green}${availablebuild}${default}" + echo -e " Current build: ${green}${currentbuild} ${factorioarch} ${branch}${default}" + echo -e " Available build: ${green}${availablebuild} ${factorioarch} ${branch}${default}" echo -e "" fn_print_ok_nl "No update available" - fn_script_log_info "Current build: ${currentbuild}" - fn_script_log_info "Available build: ${availablebuild}" + fn_script_log_info "Current build: ${currentbuild} ${factorioarch} ${branch}" + fn_script_log_info "Available build: ${availablebuild} ${factorioarch} ${branch}" fi }