Packages: fixed dependency checks on multi-arch Debian/Ubuntu.

This commit is contained in:
Andrei Belov
2021-11-09 12:19:54 +03:00
parent da0826e99f
commit b6b15c552d

View File

@@ -131,7 +131,7 @@ check-build-depends-%:
esac ; \ esac ; \
not_installed= ; \ not_installed= ; \
for pkg in $${pkgs}; do \ for pkg in $${pkgs}; do \
dpkg -s $${pkg} >/dev/null 2>&1 ; \ dpkg-query -W $${pkg} >/dev/null 2>&1 ; \
if [ $$? -ne 0 ]; then \ if [ $$? -ne 0 ]; then \
not_installed="$${not_installed} $${pkg}" ; \ not_installed="$${not_installed} $${pkg}" ; \
fi ; \ fi ; \