diff options
Diffstat (limited to 'functions/packages.sh')
| -rwxr-xr-x | functions/packages.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/packages.sh b/functions/packages.sh index f07bed35f..edf6f87b2 100755 --- a/functions/packages.sh +++ b/functions/packages.sh @@ -81,7 +81,7 @@ Check_installed () INSTALL_STATUS=1 fi else - if [ $(which dpkg-query) ] + if command -v dpkg-query >/dev/null then if dpkg-query -s "${PACKAGE}" 2> /dev/null | grep -qs "Status: install" then |
