libxbps: don't check revdeps on removal of ignored packages

This commit is contained in:
Duncaen 2019-06-23 12:04:49 +02:00 committed by Duncan Overbruck
parent 5fc340a838
commit b39e341426

View File

@ -137,6 +137,13 @@ xbps_transaction_revdeps(struct xbps_handle *xhp, xbps_array_t pkgs)
free(pkgname);
continue;
}
/*
* If pkg is ignored, pass to the next one.
*/
if (xbps_pkg_is_ignored(xhp, pkgver)) {
free(pkgname);
continue;
}
free(pkgname);
/*
* Time to validate revdeps for current pkg.