소스 검색

* merged with the latest ddtp branch fixes

Michael Vogt 20 년 전
부모
커밋
b28fffc282
2개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      apt-pkg/deb/debmetaindex.cc
  2. 1 0
      debian/changelog

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

+ 1 - 0
debian/changelog

@@ -2,6 +2,7 @@ apt (0.6.44.2exp2) experimental; urgency=low
 
   * fix apt-get dist-upgrade
   * fix warning if no /var/lib/apt/extended_states is present
+  * don't download Translations for deb-src sources.list lines
 
  -- Michael Vogt <mvo@debian.org>  Tue, 25 Jul 2006 15:12:05 +0200