]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-no-fds-leaked-to-maintainer-scripts
don't install new deps of candidates for kept back pkgs
[apt.git] / test / integration / test-no-fds-leaked-to-maintainer-scripts
index ca93f78b4f7e9e707d70234a87e4dc770d999b53..7b5d6727ef0781ed7f1279bd678364aae46f7b9d 100755 (executable)
@@ -29,7 +29,7 @@ buildpackage "$BUILDDIR" 'unstable' 'main' 'native'
 rm -rf "$BUILDDIR"
 
 PKGNAME='fdleaks:all'
-if ! dpkg-checkbuilddeps -d 'dpkg (>= 1.16.2)' /dev/null >/dev/null 2>&1; then
+if dpkg --compare-versions "$(dpkg_version)" 'lt' '1.16.2'; then
        PKGNAME='fdleaks'
 fi