diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-10-28 12:47:31 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-10-28 12:47:31 +0300 |
commit | 3c8e93c28ec1388a2a9436d2dd7fb8687e9ce333 (patch) | |
tree | 6eddf553e36482e1b9ba9271a386f7d9fbf80c5c /include/helper_update | |
parent | 7155afa2bb005875f25b88f3447e1d7ef8e6fe7d (diff) |
Improve usage and display of update tool
Diffstat (limited to 'include/helper_update')
-rw-r--r-- | include/helper_update | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/helper_update b/include/helper_update index 8b93124e..a46c075b 100644 --- a/include/helper_update +++ b/include/helper_update @@ -47,6 +47,7 @@ ###################################################################### LOCAL_VERSION="-" +RUN_UPDATE_CHECK=1 SERVER_VERSION="" PERFORM_UPGRADE=0 QUIET=0 @@ -254,19 +255,19 @@ elif [ "$1" = "info" ]; then echo ""; echo " == ${WHITE}${PROGRAM_NAME}${NORMAL} ==" echo "" - echo " Version : ${PROGRAM_VERSION}" - echo -n " Status : " + echo " Version : ${PROGRAM_VERSION}" + echo -n " Status : " if [ ${PROGRAM_LV} -eq 0 ]; then echo "${RED}Unknown${NORMAL}"; elif [ ${PROGRAM_LV} -gt ${PROGRAM_AC} ]; then echo "${YELLOW}Outdated${NORMAL}"; - echo " Current version : ${PROGRAM_AC}" - echo " Latest version : ${PROGRAM_LV}" + echo " Installed version : ${PROGRAM_AC}" + echo " Latest version : ${PROGRAM_LV}" else echo "${GREEN}Up-to-date${NORMAL}" fi - echo " Release date : ${PROGRAM_RELEASE_DATE}" - echo " Update location : ${PROGRAM_WEBSITE}" + echo " Release date : ${PROGRAM_RELEASE_DATE}" + echo " Update location : ${PROGRAM_WEBSITE}" echo ""; echo "" echo "${PROGRAM_COPYRIGHT}" echo "" |