mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
Corrected variable
This commit is contained in:
parent
2af2d0a895
commit
914f343635
@ -1897,7 +1897,7 @@
|
||||
output=$(${EQUERYBINARY} --quiet ${package} > /dev/null 2>&1)
|
||||
exit_code=$? # 0=package installed, 3=package not installed
|
||||
elif [ -n "${PACMANBINARY}" ]; then
|
||||
output=$(PACMANBINARY -Qs ${PKG} | grep "local/${PKG} " >/dev/null 2>&1)
|
||||
output=$(${PACMANBINARY} -Qs ${PKG} | grep "local/${PKG} " >/dev/null 2>&1)
|
||||
exit_code=$? # 0=package installed, 1=package not installed
|
||||
elif [ -n "${PKG_BINARY}" ]; then
|
||||
output=$(${PKG_BINARY} -N info ${package} >/dev/null 2>&1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user