mirror of https://github.com/CISOfy/lynis.git
Cleanup
This commit is contained in:
parent
b66e1402df
commit
de84454d3f
|
@ -218,8 +218,8 @@
|
|||
#################################################################################
|
||||
#
|
||||
# Test : PKGS-7312
|
||||
# Description : Check for available package updates when pacman package is used (Arch Linux)
|
||||
if [ ! "${PACMANBINARY}" = "" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
||||
# Description : Check for available package updates when pacman package is used
|
||||
if [ ! -z "${PACMANBINARY}" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
||||
Register --test-no PKGS-7312 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Checking available updates for pacman based system"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
FOUND=0
|
||||
|
@ -249,7 +249,7 @@
|
|||
# Test : PKGS-7314
|
||||
# Description : Check pacman.conf options
|
||||
PACMANCONF="/etc/pacman.conf"
|
||||
if [ ! "${PACMANBINARY}" = "" -a -f ${PACMANCONF} ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
||||
if [ ! -z "${PACMANBINARY}" -a -f ${PACMANCONF} ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
||||
Register --test-no PKGS-7314 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Checking pacman configuration options"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
COUNT=0
|
||||
|
|
Loading…
Reference in New Issue