index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2011-09-29 21:13:22 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-30 10:48:01 -0500 |
commit | 6dfb9d35f8601c3752dc5bd0e8558c48f41a8215 (patch) | |
tree | 5a55d27bbe7c733371a8355283cb2642ddfbcd0e | |
parent | 83c05e71bc6e614f6f3d190d5e752a0c5239a2d1 (diff) |
-rw-r--r-- | src/pacman/util.c | 2 |
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); } |