diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-07-20 11:51:34 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-07-20 11:51:34 +0300 |
commit | 1852095bb0cad7385060739ba69a1bdf6b5c6707 (patch) | |
tree | fafc05f0b7c3ada7595137dc6ea0af61419103ab /lynis | |
parent | d9a688e49b4132e8ec3a888b7ec39673efb92b23 (diff) |
Provide more details when program is old or outdated
Diffstat (limited to 'lynis')
-rwxr-xr-x | lynis | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -32,8 +32,8 @@ PROGRAM_AUTHOR_CONTACT="lynis-dev@cisofy.com" # Version details - PROGRAM_RELEASE_DATE="2016-07-16" - PROGRAM_RELEASE_TIMESTAMP=1468518142 + PROGRAM_RELEASE_DATE="2016-07-20" + PROGRAM_RELEASE_TIMESTAMP=1469004645 PROGRAM_RELEASE_TYPE="dev" # dev or final PROGRAM_VERSION="2.3.2" @@ -691,16 +691,19 @@ ${NORMAL} echo "" if [ ${OLD_RELEASE} -eq 1 ]; then echo " ${YELLOW}Current version is more than 4 months old${NORMAL}" - else + echo "" + fi + if [ ${PROGRAM_LV} -gt 0 ]; then echo " Current version : ${YELLOW}${PROGRAM_AC}${NORMAL} Latest version : ${GREEN}${PROGRAM_LV}${NORMAL}" + echo "" fi - echo "" echo " ${WHITE}Please update to the latest version.${NORMAL}" echo " New releases include additional features, bug fixes, tests and baselines.${NORMAL}" echo "" - echo " Download the latest version via our website or GitHub" - echo " Website: https://cisofy.com/downloads/" - echo " GitHub: https://github.com/CISOfy/lynis" + echo " Download the latest version:" + echo " Packages (DEB/RPM) - https://packages.cisofy.com" + echo " Website - https://cisofy.com/downloads/" + echo " GitHub - https://github.com/CISOfy/lynis" echo "" echo " ===============================================================================" echo "" |