xbps-install: list reinstalled packages
Before, they weren't printed at all. Additionally, this matches count from compute_transaction_stats. Closes: #321 [via git-merge-pr]
This commit is contained in:
parent
167289d590
commit
b26f4068b7
@ -95,6 +95,9 @@ show_package_list(struct transaction *trans, xbps_trans_type_t ttype, unsigned i
|
||||
tt = XBPS_TRANS_DOWNLOAD;
|
||||
} else {
|
||||
tt = xbps_transaction_pkg_type(obj);
|
||||
if (ttype == XBPS_TRANS_INSTALL && tt == XBPS_TRANS_REINSTALL) {
|
||||
tt = XBPS_TRANS_INSTALL;
|
||||
}
|
||||
}
|
||||
|
||||
buf = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user