summaryrefslogtreecommitdiff
path: root/src/pacman/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/util.c')
-rw-r--r--src/pacman/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c
index c3836a5e..79fb54dc 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -892,7 +892,7 @@ static void _display_targets(alpm_list_t *targets, int verbose)
size = humanize_size(isize, 'M', &label);
printf(_("Total Installed Size: %.2f %s\n"), size, label);
}
- if(rsize > 0) {
+ if(rsize > 0 && isize == 0) {
size = humanize_size(rsize, 'M', &label);
printf(_("Total Removed Size: %.2f %s\n"), size, label);
}