mirror of https://github.com/CISOfy/lynis.git
Revert "Fixed Alpine Linux installed package detection"
This commit is contained in:
parent
d9ac616d11
commit
776fc716a2
|
@ -2103,7 +2103,7 @@
|
|||
output=$(${XBPSBINARY} ${package} 2> /dev/null | ${GREPBINARY} "^ii")
|
||||
exit_code=$?
|
||||
elif [ -n "${APKBINARY}" ]; then
|
||||
output=$(${APKBINARY} list --installed ${package} 2> /dev/null | ${GREPBINARY} ${package})
|
||||
output=$(${APKBINARY} search ${package} 2> /dev/null | ${GREPBINARY} ${package})
|
||||
exit_code=$?
|
||||
else
|
||||
if [ "${package}" != "__dummy__" ]; then
|
||||
|
|
Loading…
Reference in New Issue