Skip to content

Commit

Permalink
lib/transaction_files: fix reinstall removal of shared directories
Browse files Browse the repository at this point in the history
  • Loading branch information
Duncaen committed Jun 24, 2023
1 parent f37a78b commit 6d940e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/transaction_files.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6d940e6

Please sign in to comment.