From 9995c4a0bc2d8567ff9f11d338ad610754682372 Mon Sep 17 00:00:00 2001 From: Ishan Jayawardena Date: Mon, 13 Jun 2011 15:16:14 +0530 Subject: added support for downloading debdelta files and queuing successfully downloaded debdeltas for processing with the debdelta apt method, in apt-pkg/acquire-item.{cc,h} in pkgAcqArchive class. Currently, no index for deltas are used. Proper progress reporting and methods to verify the debdeltas are yet to be added. --- apt-pkg/packagemanager.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'apt-pkg/packagemanager.cc') diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc index fe9f6eb68..9982dc737 100644 --- a/apt-pkg/packagemanager.cc +++ b/apt-pkg/packagemanager.cc @@ -80,8 +80,10 @@ bool pkgPackageManager::GetArchives(pkgAcquire *Owner,pkgSourceList *Sources, // Skip already processed packages if (List->IsNow(Pkg) == false) continue; - - new pkgAcqArchive(Owner,Sources,Recs,Cache[Pkg].InstVerIter(Cache), + + //new pkgAcqArchive(Owner,Sources,Recs,Cache[Pkg].InstVerIter(Cache), + // FileNames[Pkg->ID]); + new pkgAcqDebdelta(Owner,Sources,Recs,Cache[Pkg].InstVerIter(Cache), FileNames[Pkg->ID]); } -- cgit v1.2.3