diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-11-21 18:15:22 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-11-21 18:15:22 +0100 |
commit | 90139c7075afb283428d561b81037039bc7ba149 (patch) | |
tree | 57bdf9ea11a4031ba40679ea9d9f7d55d0f67b28 /apt-private/private-show.cc | |
parent | d04e44ac8177fc5b70ae0189bb5e437c2502f910 (diff) |
show potentially arch-qualified fullname in 'apt show'
We do not show the architecture as a dedicated field as this is rather
technical information, but as packagename it makes sense to show the
architecture as other part of apt will refer to it in this way.
Diffstat (limited to 'apt-private/private-show.cc')
-rw-r--r-- | apt-private/private-show.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-private/private-show.cc b/apt-private/private-show.cc index 34214d955..c2517e130 100644 --- a/apt-private/private-show.cc +++ b/apt-private/private-show.cc @@ -219,6 +219,7 @@ static bool DisplayRecordV2(pkgCacheFile &CacheFile, pkgCache::VerIterator const RW.push_back(pkgTagSection::Tag::Remove("Description")); RW.push_back(pkgTagSection::Tag::Remove("Description-md5")); // improve + RW.push_back(pkgTagSection::Tag::Rewrite("Package", V.ParentPkg().FullName(true))); RW.push_back(pkgTagSection::Tag::Rewrite("Installed-Size", installed_size)); RW.push_back(pkgTagSection::Tag::Remove("Size")); RW.push_back(pkgTagSection::Tag::Rewrite("Download-Size", package_size)); |