xbps-install: exclude hold packages from total download size
This commit is contained in:
parent
d3b55df51b
commit
d744b4b238
@ -99,6 +99,7 @@ compute_transaction_stats(struct xbps_handle *xhp)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((ttype != XBPS_TRANS_CONFIGURE) && (ttype != XBPS_TRANS_REMOVE) &&
|
if ((ttype != XBPS_TRANS_CONFIGURE) && (ttype != XBPS_TRANS_REMOVE) &&
|
||||||
|
(ttype != XBPS_TRANS_HOLD) &&
|
||||||
xbps_repository_is_remote(repo) && !xbps_binpkg_exists(xhp, obj)) {
|
xbps_repository_is_remote(repo) && !xbps_binpkg_exists(xhp, obj)) {
|
||||||
xbps_dictionary_get_uint64(obj, "filename-size", &tsize);
|
xbps_dictionary_get_uint64(obj, "filename-size", &tsize);
|
||||||
tsize += 512;
|
tsize += 512;
|
||||||
|
Loading…
Reference in New Issue
Block a user