diff options
author | Raphaël Hertzog <hertzog@debian.org> | 2016-11-28 22:50:42 +0100 |
---|---|---|
committer | Raphaël Hertzog <hertzog@debian.org> | 2016-11-28 22:50:46 +0100 |
commit | 02d933fc17c6355a180f8af5ab98365d173215d5 (patch) | |
tree | fe245a27e0deab36d35c0afdde077cab65a70cab /functions | |
parent | 5a169a6fe6c0915eea729739e513e4265e2d4e6f (diff) | |
download | vyos-live-build-02d933fc17c6355a180f8af5ab98365d173215d5.tar.gz vyos-live-build-02d933fc17c6355a180f8af5ab98365d173215d5.zip |
Fix Check_installed function when checking against host
Thanks to jnqnfe for the report.
Closes: #774807
Diffstat (limited to 'functions')
-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 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 |