diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-04-03 13:46:03 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-04-03 13:46:03 +0300 |
commit | 247eb7d9a6bc50fa06ac33d3a118d79f7b24cc2c (patch) | |
tree | 41b374c1d47ab86117f8d5059b13558260dec2ab | |
parent | e0ca517aaa88e6954a1b3cda79f2cb5b70a12c7b (diff) |
Corrected if-statement
-rw-r--r-- | include/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions b/include/functions index 95083600..e8965986 100644 --- a/include/functions +++ b/include/functions @@ -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 |