From 743e76938f34aab3aa61581ebb60a9cadfff6aee Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 31 Mar 2020 17:26:38 +0200 Subject: [PATCH] xbps-install: fix regression in stats. Updated packages will also be configured, so take this into account in the stats. --- bin/xbps-install/transaction.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/xbps-install/transaction.c b/bin/xbps-install/transaction.c index 89d1b8a4..5342c4ed 100644 --- a/bin/xbps-install/transaction.c +++ b/bin/xbps-install/transaction.c @@ -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");