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:
Piotr Wójcik 2020-08-20 14:08:29 +02:00 committed by Duncan Overbruck
parent 167289d590
commit b26f4068b7
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35

View File

@ -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;