Corrected if-statement

This commit is contained in:
Michael Boelen 2019-04-03 12:46:03 +02:00
parent e0ca517aaa
commit 247eb7d9a6
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04
1 changed files with 1 additions and 1 deletions

View File

@ -1717,7 +1717,7 @@
if [ ! -z "${RPMBINARY}" ]; then
output=$(${RPMBINARY} --quiet -q ${package} 2> /dev/null)
exit_code=$?
elif ! -z "${DPKGBINARY}" ]; then
elif [ ! -z "${DPKGBINARY}" ]; then
output=$(${DPKGBINARY} -l ${package} 2> /dev/null)
exit_code=$?
elif [ ! -z "${ZYPPERBINARY}" ]; then