]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-item.cc
test/authReliability/sources.list.good:
[apt.git] / apt-pkg / acquire-item.cc
index 54526ab058909a1032419a74ba010b1b4c9c423f..fa48eeae933abc5c0ca0aef93995c1fd1a316c79 100644 (file)
@@ -935,6 +935,9 @@ void pkgAcqMetaIndex::Done(string Message,unsigned long Size,string Hash,
    else
    {
       RetrievalDone(Message);
+      if (!Complete)
+         // Still more retrieving to do
+         return;
 
       if (SigFile == "")
       {
@@ -987,6 +990,7 @@ void pkgAcqMetaIndex::RetrievalDone(string Message)
       FinalFile += URItoFileName(RealURI);
       DestFile = FinalFile;
    }
+   Complete = true;
 }
 
 void pkgAcqMetaIndex::AuthDone(string Message)