functions: consistency fix

missed in 7ee59d408e

Gbp-Dch: Ignore
This commit is contained in:
Lyndon Brown 2020-03-10 21:58:23 +00:00 committed by Luca Boccassi
parent 6cec4a7a74
commit f1647f0dac
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ Check_installed ()
INSTALL_STATUS=1
fi
else
if which dpkg-query > /dev/null 2>&1
if [ $(which dpkg-query) ]
then
if dpkg-query -s "${PACKAGE}" 2> /dev/null | grep -qs "Status: install"
then