lib/transaction_files: fix reinstall removal of shared directories

This commit is contained in:
Duncan Overbruck 2023-06-23 16:10:55 +02:00
parent f37a78b9b5
commit 6d940e647f
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35

View File

@ -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);