summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <egon@bottom>2007-10-05 08:27:21 +0200
committerMichael Vogt <egon@bottom>2007-10-05 08:27:21 +0200
commit50e95852a7408d6188042a9c7923e42553722a2a (patch)
tree3c41d4f773ac5f4405056084b0e1a0a102509038 /apt-pkg
parentff6bb5727e35159acd061f77cc462a741d2c978e (diff)
parentd6039f9e73d440f1e49ac880f5017cb6aaf4546e (diff)
- only send LastModified if we actually have a file
- delete zero size I-M-S hits
Diffstat (limited to 'apt-pkg')
-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 9c51184e6..c8ac84f56 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -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;