summaryrefslogtreecommitdiff
path: root/functions/packages.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/packages.sh')
-rwxr-xr-xfunctions/packages.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/packages.sh b/functions/packages.sh
index 477d3379a..c2f7cfabf 100755
--- a/functions/packages.sh
+++ b/functions/packages.sh
@@ -82,7 +82,7 @@ Check_installed ()
else
if which dpkg-query > /dev/null 2>&1
then
- if Chroot chroot "dpkg-query -s ${PACKAGE}" 2> /dev/null | grep -qs "Status: install"
+ if dpkg-query -s "${PACKAGE}" 2> /dev/null | grep -qs "Status: install"
then
INSTALL_STATUS=0
else