Procházet zdrojové kódy

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

Michael Vogt před 20 roky
rodič
revize
fb603534bf
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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);
    }