Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2016-04-05 12:31:21 +0300
committermboelen <michael@cisofy.com>2016-04-05 12:31:21 +0300
commit78167f37f2dd6b6b0b223d56693ec2aa0e2f80c8 (patch)
tree824e99b7c793881d7d29b64caf55a706468d46cf /include/helper_update
parent2f335eea5f6ca0a342f435ad42fb0a37e12fefe3 (diff)
Clean up of old variables
Diffstat (limited to 'include/helper_update')
-rw-r--r--include/helper_update12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/helper_update b/include/helper_update
index a062246e..040745c3 100644
--- a/include/helper_update
+++ b/include/helper_update
@@ -240,7 +240,7 @@ if [ "$1" = "release" ]; then
elif [ "$1" = "info" ]; then
# CV - Current Version
- PROGRAM_AC=`echo ${PROGRAM_version} | awk '{ print $1 }' | sed 's/[.]//g'`
+ PROGRAM_AC=`echo ${PROGRAM_VERSION} | awk '{ print $1 }' | sed 's/[.]//g'`
PROGRAM_LV=0
CheckUpdates
@@ -252,9 +252,9 @@ elif [ "$1" = "info" ]; then
PROGRAM_AC=0; PROGRAM_LV=0
fi
- echo ""; echo " == ${WHITE}${PROGRAM_name}${NORMAL} =="
+ echo ""; echo " == ${WHITE}${PROGRAM_NAME}${NORMAL} =="
echo ""
- echo " Version : ${PROGRAM_version}"
+ echo " Version : ${PROGRAM_VERSION}"
echo -n " Status : "
if [ ${PROGRAM_LV} -eq 0 ]; then
echo "${RED}Unknown${NORMAL}";
@@ -265,10 +265,10 @@ elif [ "$1" = "info" ]; then
else
echo "${GREEN}Up-to-date${NORMAL}"
fi
- echo " Release date : ${PROGRAM_releasedate}"
- echo " Update location : ${PROGRAM_website}"
+ echo " Release date : ${PROGRAM_RELEASEDATE}"
+ echo " Update location : ${PROGRAM_WEBSITE}"
echo ""; echo ""
- echo "${PROGRAM_copyright}"
+ echo "${PROGRAM_COPYRIGHT}"
echo ""
# Quit program