Skip to content

Commit

Permalink
xbps-install: fix regression in stats.
Browse files Browse the repository at this point in the history
Updated packages will also be configured, so take this into
account in the stats.
  • Loading branch information
Juan RP committed Mar 31, 2020
1 parent 8b0d54c commit 743e769
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/xbps-install/transaction.c
Expand Up @@ -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, "
"%u configured, %u removed.\n",
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);
} else {
fprintf(stderr, "Transaction failed! see above for errors.\n");
Expand Down

0 comments on commit 743e769

Please sign in to comment.