mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
Merge pull request #1231 from AkechiShiro/add-garuda-linux-test-audit-package-tool
Add Garuda Linux to audit package test tool
This commit is contained in:
commit
c39c13fb17
@ -296,7 +296,7 @@
|
||||
#
|
||||
# Test : PKGS-7320
|
||||
# Description : Check available of arch-audit
|
||||
if [ "${OS_FULLNAME}" = "Arch Linux" ] || [ "${OS_FULLNAME}" = "Arch Linux 32" ]; then PREQS_MET="YES"; SKIPREASON=""; else PREQS_MET="NO"; SKIPREASON="Test only applies to Arch Linux"; fi
|
||||
if [ "${OS_FULLNAME}" = "Arch Linux" ] || [ "${OS_FULLNAME}" = "Arch Linux 32" ] || [ "${OS_FULLNAME}" = "Garuda Linux" ]; then PREQS_MET="YES"; SKIPREASON=""; else PREQS_MET="NO"; SKIPREASON="Test only applies to Arch Linux and Garuda Linux"; fi
|
||||
Register --test-no PKGS-7320 --os "Linux" --preqs-met ${PREQS_MET} --skip-reason "${SKIPREASON}" --weight L --network NO --category security --description "Checking for arch-audit tooling"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
if [ -z "${ARCH_AUDIT_BINARY}" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user