summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-10-05 06:58:52 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2007-10-05 06:58:52 +0200
commit1b888622abc62d044e584cb399c0d7802c04e1aa (patch)
tree886010252cc5469d42bd9e3e547d23cb2327ef7f /apt-pkg/acquire-item.cc
parent986d97bb0d62d7529a6a0328c39ddbd47be879a1 (diff)
* apt-pkg/acquire-item.cc
- fix disappearing local Packages.gz file (LP: #131166)
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r--apt-pkg/acquire-item.cc3
1 files changed, 0 insertions, 3 deletions
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;