mirror of https://github.com/CISOfy/lynis.git
[PKGS-7370] only use debsums test for Debian systems
This commit is contained in:
parent
df32cb29b0
commit
d1969001c6
|
@ -617,7 +617,7 @@
|
||||||
# Test : PKGS-7370
|
# Test : PKGS-7370
|
||||||
# Description : Checking debsums installation status and presence in cron job
|
# Description : Checking debsums installation status and presence in cron job
|
||||||
# Note : Run this only when it is a DPKG based system
|
# Note : Run this only when it is a DPKG based system
|
||||||
if [ ! -z "${DPKGBINARY}" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
if [ ! -z "${DPKGBINARY}" -a "${LINUX_VERSION}" = "Debian" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
||||||
Register --test-no "PKGS-7370" --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Checking for debsums utility"
|
Register --test-no "PKGS-7370" --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Checking for debsums utility"
|
||||||
if [ ${SKIPTEST} -eq 0 ]; then
|
if [ ${SKIPTEST} -eq 0 ]; then
|
||||||
if [ ! -z "${DEBSUMSBINARY}" ]; then
|
if [ ! -z "${DEBSUMSBINARY}" ]; then
|
||||||
|
|
Loading…
Reference in New Issue