]> git.saurik.com Git - apt.git/commitdiff
* apt-pkg/deb/debmetaindex.cc:
authorMichael Vogt <michael.vogt@ubuntu.com>
Tue, 25 Jul 2006 14:11:03 +0000 (16:11 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Tue, 25 Jul 2006 14:11:03 +0000 (16:11 +0200)
  - don't queue translations for deb-src entries

apt-pkg/deb/debmetaindex.cc

index ea53a847ef194bca314460d3e65666f6cedca4bb..a3fc3930255395acd3fc9de10396a71f2f93646e 100644 (file)
@@ -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);
    }