summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:53:39 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:53:39 +0000
commiteec898ad83d383f27b94f747245fe82fe11949b0 (patch)
tree75915d7506528151f88d3aff07c282b59d06fdb8 /apt-pkg/acquire-item.cc
parentd6e79b75582b25065e2e1e843191c93d1f56ec3a (diff)
Change log updates
Author: jgg Date: 1999-04-20 05:59:29 GMT Change log updates
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r--apt-pkg/acquire-item.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index 7e178c3b4..35ae7d8b7 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: acquire-item.cc,v 1.27 1999/04/07 05:30:17 jgg Exp $
+// $Id: acquire-item.cc,v 1.28 1999/04/20 05:59:29 jgg Exp $
/* ######################################################################
Acquire Item - Item to acquire
@@ -479,6 +479,7 @@ void pkgAcqArchive::Done(string Message,unsigned long Size,string Md5Hash)
if (Md5Hash != MD5)
{
_error->Error("MD5Sum mismatch for package %s",Version.ParentPkg().Name());
+ Rename(DestFile + ".FAILED",DestFile);
return;
}
}