summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-03-10 21:58:23 +0000
committerLuca Boccassi <bluca@debian.org>2020-03-11 09:56:53 +0000
commitf1647f0dac0022fdb92c5f4b315626d1049a0aec (patch)
tree978301ff1e431de3a84352cb6b74ae25ee8a67c4
parent6cec4a7a74708bc70d7572b85019bb9ae0332e47 (diff)
downloadvyos-live-build-f1647f0dac0022fdb92c5f4b315626d1049a0aec.tar.gz
vyos-live-build-f1647f0dac0022fdb92c5f4b315626d1049a0aec.zip
functions: consistency fix
missed in 7ee59d408ed7681908966a5b2fb28e8f98116d31 Gbp-Dch: Ignore
-rwxr-xr-xfunctions/packages.sh2
1 files changed, 1 insertions, 1 deletions
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