summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-09-09 21:22:54 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-09-09 21:22:54 +0200
commit8ec008808cd6083a633685a732dfe9b8a58a89da (patch)
tree74c4d099fa8db145cc88806b42762c4f523140f8 /apt-pkg
parentc919ad6e4d0de48acb60f2a1371ade9bfb0451f8 (diff)
* apt-pkg/pkgcachegen.cc:
- do not create 'native' (or now 'none') package structures as a side effect of description translation parsing as it pollutes the cache
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/pkgcachegen.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc
index 490c2ecbb..54b07c465 100644
--- a/apt-pkg/pkgcachegen.cc
+++ b/apt-pkg/pkgcachegen.cc
@@ -195,8 +195,10 @@ bool pkgCacheGenerator::MergeList(ListParser &List,
string const Version = List.Version();
if (Version.empty() == true && Arch.empty() == true)
{
+ // package descriptions
if (MergeListGroup(List, PackageName) == false)
return false;
+ continue;
}
if (Arch.empty() == true)