From fb603534bf69ae4b01f5abda4e42814450e59a31 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 25 Jul 2006 16:11:03 +0200 Subject: * apt-pkg/deb/debmetaindex.cc: - don't queue translations for deb-src entries --- apt-pkg/deb/debmetaindex.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apt-pkg/deb/debmetaindex.cc') 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_iterator I = SectionEntries.begin(); I != SectionEntries.end(); I++) { + if((*I)->IsSrc) + continue; debTranslationsIndex i = debTranslationsIndex(URI,Dist,(*I)->Section); i.GetIndexes(Owner); } -- cgit v1.2.3-70-g09d2