projects
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d543853
)
apt-pkg/acquire-item.cc: fix breaking on unreachable networks
author
Michael Vogt
<michael.vogt@ubuntu.com>
Tue, 22 Apr 2008 13:32:14 +0000
(15:32 +0200)
committer
Michael Vogt
<michael.vogt@ubuntu.com>
Tue, 22 Apr 2008 13:32:14 +0000
(15:32 +0200)
apt-pkg/acquire-item.cc
patch
|
blob
|
blame
|
history
diff --git
a/apt-pkg/acquire-item.cc
b/apt-pkg/acquire-item.cc
index a00b0b6d3307b3bcbfe8070d5c3dfb8f2654d87b..aabc4b159e1841635beefb79ecfbd17c4d7dcd90 100644
(file)
--- a/
apt-pkg/acquire-item.cc
+++ b/
apt-pkg/acquire-item.cc
@@
-846,7
+846,7
@@
void pkgAcqMetaSig::Failed(string Message,pkgAcquire::MethodConfig *Cnf)
{
Item::Failed(Message,Cnf);
// move the sigfile back on transient network failures
- if(FileExists(
DestFile
))
+ if(FileExists(
LastGoodSig
))
Rename(LastGoodSig,Final);
// set the status back to , Item::Failed likes to reset it