From 97234432dbd652bc13a419dc37fda1e5cd3622a5 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 13 May 2005 19:43:07 +0000 Subject: * made the translation downloading work --- apt-pkg/deb/debmetaindex.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apt-pkg/deb/debmetaindex.cc') diff --git a/apt-pkg/deb/debmetaindex.cc b/apt-pkg/deb/debmetaindex.cc index 7f15fd2e1..9c7828d6a 100644 --- a/apt-pkg/deb/debmetaindex.cc +++ b/apt-pkg/deb/debmetaindex.cc @@ -157,6 +157,14 @@ bool debReleaseIndex::GetIndexes(pkgAcquire *Owner, bool GetAll) const ComputeIndexTargets(), new indexRecords (Dist)); + // Queue the translations + for (vector::const_iterator I = SectionEntries.begin(); + I != SectionEntries.end(); I++) { + + debTranslationsIndex i = debTranslationsIndex(URI,Dist,(*I)->Section); + i.GetIndexes(Owner); + } + return true; } -- cgit v1.2.3