diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-07-25 16:11:03 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-07-25 16:11:03 +0200 |
commit | fb603534bf69ae4b01f5abda4e42814450e59a31 (patch) | |
tree | 72ed7ee4151ed4a9de2df1711ee27be028e1e9b6 /apt-pkg | |
parent | e0c4f06387ade5761e644b5b96e41284c12da23c (diff) |
* apt-pkg/deb/debmetaindex.cc:
- don't queue translations for deb-src entries
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/deb/debmetaindex.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/deb/debmetaindex.cc b/apt-pkg/deb/debmetaindex.cc index ea53a847e..a3fc39302 100644 --- a/apt-pkg/deb/debmetaindex.cc +++ b/apt-pkg/deb/debmetaindex.cc @@ -161,6 +161,8 @@ bool debReleaseIndex::GetIndexes(pkgAcquire *Owner, bool GetAll) const for (vector<const debSectionEntry *>::const_iterator I = SectionEntries.begin(); I != SectionEntries.end(); I++) { + if((*I)->IsSrc) + continue; debTranslationsIndex i = debTranslationsIndex(URI,Dist,(*I)->Section); i.GetIndexes(Owner); } |