xbps-install: fix regression in stats.
Updated packages will also be configured, so take this into account in the stats.
This commit is contained in:
parent
8b0d54c736
commit
743e76938f
@ -443,7 +443,8 @@ exec_transaction(struct xbps_handle *xhp, unsigned int maxcols, bool yes, bool d
|
|||||||
printf("\n%u downloaded, %u installed, %u updated, "
|
printf("\n%u downloaded, %u installed, %u updated, "
|
||||||
"%u configured, %u removed.\n",
|
"%u configured, %u removed.\n",
|
||||||
trans->dl_pkgcnt, trans->inst_pkgcnt,
|
trans->dl_pkgcnt, trans->inst_pkgcnt,
|
||||||
trans->up_pkgcnt, trans->cf_pkgcnt + trans->inst_pkgcnt,
|
trans->up_pkgcnt,
|
||||||
|
trans->cf_pkgcnt + trans->inst_pkgcnt + trans->up_pkgcnt,
|
||||||
trans->rm_pkgcnt);
|
trans->rm_pkgcnt);
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "Transaction failed! see above for errors.\n");
|
fprintf(stderr, "Transaction failed! see above for errors.\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user