mirror of https://github.com/CISOfy/lynis.git
Provide more details when program is old or outdated
This commit is contained in:
parent
d9a688e49b
commit
1852095bb0
19
lynis
19
lynis
|
@ -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 " Current version : ${YELLOW}${PROGRAM_AC}${NORMAL} Latest version : ${GREEN}${PROGRAM_LV}${NORMAL}"
|
||||
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 ""
|
||||
|
|
Loading…
Reference in New Issue