diff options
author | Dan McGee <dan@archlinux.org> | 2008-02-06 00:57:17 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-02-06 01:34:03 +0100 |
commit | 93a3050ed9e9735352013014da52adcdf896f95f (patch) | |
tree | 5b7dcc26328ebda92445fd508607faef4a3ae2a6 /src | |
parent | 5d03a6fd94c17442e05574b918970dfe12400cfa (diff) | |
download | pacman-93a3050ed9e9735352013014da52adcdf896f95f.tar.gz pacman-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.c | 6 |
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); } |