aboutsummaryrefslogtreecommitdiffstats
path: root/src/transaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transaction.c')
-rw-r--r--src/transaction.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/transaction.c b/src/transaction.c
index e9b1d8b..d9a144a 100644
--- a/src/transaction.c
+++ b/src/transaction.c
@@ -261,14 +261,11 @@ int slapt_handle_transaction (const slapt_rc_config *global_config,
}
/* print the summary */
- printf(
- gettext("%d upgraded, %d reinstalled, %d newly installed, %d to remove and %d not upgraded.\n"),
- tran->upgrade_pkgs->pkg_count - tran->upgrade_pkgs->reinstall_count,
- tran->upgrade_pkgs->reinstall_count,
- tran->install_pkgs->pkg_count,
- tran->remove_pkgs->pkg_count,
- tran->exclude_pkgs->pkg_count
- );
+ printf(gettext("%d upgraded, "), tran->upgrade_pkgs->pkg_count - tran->upgrade_pkgs->reinstall_count);
+ printf(gettext("%d reinstalled, "), tran->upgrade_pkgs->reinstall_count);
+ printf(gettext("%d newly installed, "), tran->install_pkgs->pkg_count);
+ printf(gettext("%d to remove, "), tran->remove_pkgs->pkg_count);
+ printf(gettext("%d not upgraded.\n"), tran->exclude_pkgs->pkg_count);
/* only show this if we are going to do download something */
if (tran->upgrade_pkgs->pkg_count > 0 || tran->install_pkgs->pkg_count > 0) {