From f1647f0dac0022fdb92c5f4b315626d1049a0aec Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Tue, 10 Mar 2020 21:58:23 +0000 Subject: [PATCH] functions: consistency fix missed in 7ee59d408ed7681908966a5b2fb28e8f98116d31 Gbp-Dch: Ignore --- functions/packages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/packages.sh b/functions/packages.sh index a119e823d..bb92ea119 100755 --- a/functions/packages.sh +++ b/functions/packages.sh @@ -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