From b39e3414267f924cd2408f1fcd8bc739fd95638f Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sun, 23 Jun 2019 12:04:49 +0200 Subject: [PATCH] libxbps: don't check revdeps on removal of ignored packages --- lib/transaction_revdeps.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/transaction_revdeps.c b/lib/transaction_revdeps.c index ffe09688..d660fb36 100644 --- a/lib/transaction_revdeps.c +++ b/lib/transaction_revdeps.c @@ -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.