From 1b888622abc62d044e584cb399c0d7802c04e1aa Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 5 Oct 2007 06:58:52 +0200 Subject: * apt-pkg/acquire-item.cc - fix disappearing local Packages.gz file (LP: #131166) --- apt-pkg/acquire-item.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'apt-pkg/acquire-item.cc') diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index 8c7b23fcb..15577363e 100644 --- a/apt-pkg/acquire-item.cc +++ b/apt-pkg/acquire-item.cc @@ -743,10 +743,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; -- cgit v1.2.3