]> git.saurik.com Git - apt.git/commitdiff
* merge a fix from the pdiff branch
authorMichael Vogt <egon@bottom>
Sun, 2 Apr 2006 11:13:08 +0000 (13:13 +0200)
committerMichael Vogt <egon@bottom>
Sun, 2 Apr 2006 11:13:08 +0000 (13:13 +0200)
apt-pkg/acquire-item.cc

index ef0c4c1a80102588150c8cb8b13c9c1de57a0e99..cbccfbfae40c794144919b1042528f7df0414612 100644 (file)
@@ -500,6 +500,7 @@ void pkgAcqIndexDiffs::Done(string Message,unsigned long Size,string Md5Hash,
 
       string FileName = LookupTag(Message,"Filename");
       State = StateUnzipDiff;
+      Local = true;
       Desc.URI = "gzip:" + FileName;
       DestFile += ".decomp";
       QueueURI(Desc);
@@ -518,6 +519,7 @@ void pkgAcqIndexDiffs::Done(string Message,unsigned long Size,string Md5Hash,
         std::clog << "Sending to rred method: " << FinalFile << std::endl;
 
       State = StateApplyDiff;
+      Local = true;
       Desc.URI = "rred:" + FinalFile;
       QueueURI(Desc);
       Mode = "rred";