diff options
author | Andrei Belov <defan@nginx.com> | 2021-11-09 12:19:54 +0300 |
---|---|---|
committer | Andrei Belov <defan@nginx.com> | 2021-11-09 12:19:54 +0300 |
commit | b6b15c552df10817fb8fa52d775f877f5680a4c7 (patch) | |
tree | 8a9349f9733aa8f7f580494f165e187c47bf2285 /pkg/deb/Makefile | |
parent | da0826e99f2c2144ea8e4b9a8b42f30ccf3203fa (diff) | |
download | unit-b6b15c552df10817fb8fa52d775f877f5680a4c7.tar.gz unit-b6b15c552df10817fb8fa52d775f877f5680a4c7.tar.bz2 |
Packages: fixed dependency checks on multi-arch Debian/Ubuntu.
Diffstat (limited to 'pkg/deb/Makefile')
-rw-r--r-- | pkg/deb/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/deb/Makefile b/pkg/deb/Makefile index 01ed13e7..66a5f33a 100644 --- a/pkg/deb/Makefile +++ b/pkg/deb/Makefile @@ -131,7 +131,7 @@ check-build-depends-%: esac ; \ not_installed= ; \ for pkg in $${pkgs}; do \ - dpkg -s $${pkg} >/dev/null 2>&1 ; \ + dpkg-query -W $${pkg} >/dev/null 2>&1 ; \ if [ $$? -ne 0 ]; then \ not_installed="$${not_installed} $${pkg}" ; \ fi ; \ |