lib/transaction_files: fix reinstall removal of shared directories
This commit is contained in:
parent
f37a78b9b5
commit
6d940e647f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user