mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Corrected variable
This commit is contained in:
parent
2af2d0a895
commit
914f343635
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue