mirror of https://github.com/CISOfy/lynis.git
Gentoo updates to gather packages and test for vulnerabilities
This commit is contained in:
parent
a390927e31
commit
6dbeb9f6cb
|
@ -110,9 +110,9 @@
|
|||
#
|
||||
# Test : PKGS-7304
|
||||
# Description : Gentoo packages
|
||||
if [ -x /usr/bin/emerge -a -x /usr/bin/equery ]; then PREQS_MET="YES"; else PREQS_MET="No"; fi
|
||||
Register --test-no PKGS-7304 --preqs-met ${PREQS_MET} --weight L --network NO --description "Querying Gentoo packages"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
if [ -x /usr/bin/emerge -a -x /usr/bin/equery ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
||||
Register --test-no PKGS-7304 --preqs-met ${PREQS_MET} --weight L --network NO --description "Querying Gentoo packages"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
Display --indent 4 --text "- Searching emerge" --result FOUND --color GREEN
|
||||
logtext "Result: Found Gentoo emerge"
|
||||
report "package_manager[]=emerge"
|
||||
|
|
Loading…
Reference in New Issue