]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-show.cc
show potentially arch-qualified fullname in 'apt show'
[apt.git] / apt-private / private-show.cc
index 34214d9557353a765a653b19418e9286fd8413e5..c2517e1301943dd1ccb82af702a95829cc1961c8 100644 (file)
@@ -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));