diff options
Diffstat (limited to 'src/solver.c')
-rw-r--r-- | src/solver.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/solver.c b/src/solver.c index 644408b..965694b 100644 --- a/src/solver.c +++ b/src/solver.c @@ -1331,10 +1331,17 @@ all_done: apk_db_write_config(db); if (r == 0 && !db->performing_self_update) { - apk_message("OK: %d packages, %d dirs, %d files", - db->installed.stats.packages, - db->installed.stats.dirs, - db->installed.stats.files); + if (apk_verbosity > 1) { + apk_message("OK: %d packages, %d dirs, %d files, %zu MiB", + db->installed.stats.packages, + db->installed.stats.dirs, + db->installed.stats.files, + db->installed.stats.bytes / (1024 * 1024)); + } else { + apk_message("OK: %zu MiB in %d packages", + db->installed.stats.bytes / (1024 * 1024), + db->installed.stats.packages); + } } return r; |