diff options
-rw-r--r-- | src/cmdline/cmdline_show.cc | 3 | ||||
-rw-r--r-- | src/pkg_info_screen.cc | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/cmdline/cmdline_show.cc b/src/cmdline/cmdline_show.cc index 2a2238fd..de532346 100644 --- a/src/cmdline/cmdline_show.cc +++ b/src/cmdline/cmdline_show.cc @@ -423,13 +423,12 @@ cw::fragment *version_file_fragment(const pkgCache::VerIterator &ver, ver.Section()?ver.Section():_("N/A"))); fragments.push_back(cw::fragf("%s%s%n", _("Maintainer: "), rec.Maintainer().c_str())); + fragments.push_back(cw::fragf("%s%s%n", _("Architecture: "), pkg.Arch())); fragments.push_back(cw::fragf("%s%s%n", _("Uncompressed Size: "), SizeToStr(ver->InstalledSize).c_str())); if(verbose>0) { - fragments.push_back(cw::fragf("%s%s%n", _("Architecture: "), - ver.Arch()?ver.Arch():_("N/A"))); fragments.push_back(cw::fragf("%s%s%n", _("Compressed Size: "), SizeToStr(ver->Size).c_str())); fragments.push_back(cw::fragf("%s%s%n", _("Filename: "), diff --git a/src/pkg_info_screen.cc b/src/pkg_info_screen.cc index 507ead31..0e3d32b9 100644 --- a/src/pkg_info_screen.cc +++ b/src/pkg_info_screen.cc @@ -124,10 +124,12 @@ void pkg_grouppolicy_info::setup_package_info(const pkgCache::PkgIterator &pkg, "%B%s%b%s%n" "%B%s%b%s%n" "%B%s%b%s%n" + "%B%s%b%s%n" "%B%s%b%s%n", _("Priority: "),pkgCache::VerIterator(ver).PriorityType()?pkgCache::VerIterator(ver).PriorityType():_("Unknown"), _("Section: "),pkg.Section()?pkg.Section():_("Unknown"), _("Maintainer: "),rec.Maintainer().c_str(), + _("Architecture: "), pkg.Arch(), _("Compressed size: "), SizeToStr(ver->Size).c_str(), _("Uncompressed size: "), SizeToStr(ver->InstalledSize).c_str(), _("Source Package: "), |