]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-item.cc
Minor fixes on racy_pselect
[apt.git] / apt-pkg / acquire-item.cc
index 9c51184e6d261a414c24f8fa42547aff0cb98f6e..c8ac84f56ff53065de49b8323f7e99e18d71b3e7 100644 (file)
@@ -693,10 +693,7 @@ void pkgAcqIndex::Done(string Message,unsigned long Size,string Hash,
    
    // The files timestamp matches
    if (StringToBool(LookupTag(Message,"IMS-Hit"),false) == true)
-   {
-      unlink(FileName.c_str());
       return;
-   }
 
    if (FileName == DestFile)
       Erase = true;