Преглед изворни кода

* apt-pkg/deb/debmetaindex.cc:
- don't queue translations for deb-src entries

Michael Vogt пре 20 година
родитељ
комит
fb603534bf
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      apt-pkg/deb/debmetaindex.cc

+ 2 - 0
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);
    }