mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Revert "Fixed Alpine Linux installed package detection"
This commit is contained in:
parent
d9ac616d11
commit
776fc716a2
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue