From 6d940e647fab41eea46e1a85fc368d9af3ec416a Mon Sep 17 00:00:00 2001 From: Duncan Overbruck Date: Fri, 23 Jun 2023 16:10:55 +0200 Subject: [PATCH] lib/transaction_files: fix reinstall removal of shared directories --- lib/transaction_files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transaction_files.c b/lib/transaction_files.c index 9cb30e17..693e3c98 100644 --- a/lib/transaction_files.c +++ b/lib/transaction_files.c @@ -827,7 +827,7 @@ xbps_transaction_files(struct xbps_handle *xhp, xbps_object_iterator_t iter) update = (ttype == XBPS_TRANS_UPDATE); - if (ttype == XBPS_TRANS_INSTALL || ttype == XBPS_TRANS_UPDATE) { + if (ttype == XBPS_TRANS_INSTALL || ttype == XBPS_TRANS_REINSTALL || ttype == XBPS_TRANS_UPDATE) { xbps_set_cb_state(xhp, XBPS_STATE_FILES, 0, pkgver, "%s: collecting files...", pkgver); rv = collect_binpkg_files(xhp, obj, idx, update);