Skip to content

Commit d744b4b

Browse files
ChocimierDuncaen
authored andcommitted
xbps-install: exclude hold packages from total download size
1 parent d3b55df commit d744b4b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/transaction_prepare.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ compute_transaction_stats(struct xbps_handle *xhp)
9999
}
100100

101101
if ((ttype != XBPS_TRANS_CONFIGURE) && (ttype != XBPS_TRANS_REMOVE) &&
102+
(ttype != XBPS_TRANS_HOLD) &&
102103
xbps_repository_is_remote(repo) && !xbps_binpkg_exists(xhp, obj)) {
103104
xbps_dictionary_get_uint64(obj, "filename-size", &tsize);
104105
tsize += 512;

0 commit comments

Comments
 (0)