mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-15 13:55:09 -05:00
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>
This commit is contained in:
parent
5d03a6fd94
commit
93a3050ed9
@ -462,11 +462,7 @@ void display_targets(const alpm_list_t *syncpkgs, pmdb_t *db_local)
|
|||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
printf(_("Total Download Size: %.2f MB\n"), mbdlsize);
|
printf(_("Total Download Size: %.2f MB\n"), mbdlsize);
|
||||||
|
printf(_("Total Installed Size: %.2f MB\n"), mbisize);
|
||||||
/* TODO because all pkgs don't include isize, this is a crude hack */
|
|
||||||
if(mbisize > mbdlsize) {
|
|
||||||
printf(_("Total Installed Size: %.2f MB\n"), mbisize);
|
|
||||||
}
|
|
||||||
|
|
||||||
FREELIST(targets);
|
FREELIST(targets);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user