diff options
author | Dan McGee <dan@archlinux.org> | 2007-11-11 15:02:33 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-11-13 00:09:45 -0600 |
commit | 5e12d3dec99e7a506683cf625fa4344f57df0b77 (patch) | |
tree | 274ae7b1acd23ed43b7a3f6cbe11935acc7dbf1c /src/pacman/package.c | |
parent | a0c908dd0da4a00cc98a46407534da67d4aee8a8 (diff) | |
download | pacman-5e12d3dec99e7a506683cf625fa4344f57df0b77.tar.xz |
Fix display of -Qip output when a package file is given
Too many fields were being shown on -Qip output, and sizes were not always
correct (-Qi and -Qip output on the same package did not agree).
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/package.c')
-rw-r--r-- | src/pacman/package.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pacman/package.c b/src/pacman/package.c index 2e2eec91..caaed462 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -86,7 +86,8 @@ void dump_pkg_full(pmpkg_t *pkg, int level) } list_display(_("Conflicts With :"), alpm_pkg_get_conflicts(pkg)); list_display(_("Replaces :"), alpm_pkg_get_replaces(pkg)); - printf(_("Installed Size : %6.2f K\n"), (float)alpm_pkg_get_size(pkg) / 1024.0); + printf(_("Installed Size : %6.2f K\n"), + (float)alpm_pkg_get_isize(pkg) / 1024.0); printf(_("Packager : %s\n"), (char *)alpm_pkg_get_packager(pkg)); printf(_("Architecture : %s\n"), (char *)alpm_pkg_get_arch(pkg)); printf(_("Build Date : %s\n"), bdatestr); |