From ed5e481e772d2683a002d71bf2bb6f6c2a9da362 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 25 Jan 2020 11:21:37 +0100 Subject: [PATCH] xbps_transaction_package_replace: fix condition --- lib/transaction_package_replace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transaction_package_replace.c b/lib/transaction_package_replace.c index 18e20175..f607df07 100644 --- a/lib/transaction_package_replace.c +++ b/lib/transaction_package_replace.c @@ -73,7 +73,7 @@ xbps_transaction_package_replace(struct xbps_handle *xhp, xbps_array_t pkgs) xbps_dictionary_get_cstring_nocopy(instd, "pkgver", &curpkgver); /* ignore pkgs on hold mode */ - if (xbps_dictionary_get_bool(instd, "hold", &hold)) + if (xbps_dictionary_get_bool(instd, "hold", &hold) && hold) continue; curpkgname = xbps_pkg_name(curpkgver);