summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-02-05 17:57:17 -0600
committerDan McGee <dan@archlinux.org>2008-02-05 18:34:03 -0600
commit93a3050ed9e9735352013014da52adcdf896f95f (patch)
tree5b7dcc26328ebda92445fd508607faef4a3ae2a6 /src
parent5d03a6fd94c17442e05574b918970dfe12400cfa (diff)
downloadpacman-93a3050ed9e9735352013014da52adcdf896f95f.tar.xz
Remove "Installed Size" hackeration
Keeping this hack around where installed size is only shown if it is greater than total download size encourages broken repository databases. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/util.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c
index c646d7aa..42b0c98d 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -462,11 +462,7 @@ void display_targets(const alpm_list_t *syncpkgs, pmdb_t *db_local)
printf("\n");
printf(_("Total Download Size: %.2f MB\n"), mbdlsize);
-
- /* TODO because all pkgs don't include isize, this is a crude hack */
- if(mbisize > mbdlsize) {
- printf(_("Total Installed Size: %.2f MB\n"), mbisize);
- }
+ printf(_("Total Installed Size: %.2f MB\n"), mbisize);
FREELIST(targets);
}