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:
authorMichael Boelen <michael.boelen@cisofy.com>2017-07-10 17:08:32 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2017-07-10 17:08:32 +0300
commitd1969001c6df84ea58c7913140a7a03f6b2486a1 (patch)
tree0f55e7d2bc7a75f3da4d9931e5f565d2bdac7b09
parentdf32cb29b0c2e71b6308d7329d6327afe113dad5 (diff)
[PKGS-7370] only use debsums test for Debian systems
-rw-r--r--include/tests_ports_packages2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_ports_packages b/include/tests_ports_packages
index 23b43abd..c328afc4 100644
--- a/include/tests_ports_packages
+++ b/include/tests_ports_packages
@@ -617,7 +617,7 @@
# Test : PKGS-7370
# Description : Checking debsums installation status and presence in cron job
# 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"
if [ ${SKIPTEST} -eq 0 ]; then
if [ ! -z "${DEBSUMSBINARY}" ]; then