diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:42 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:42 +0000 |
commit | 459681d3b8093c20a39400c00bcee43d26e964c6 (patch) | |
tree | f7266e70c8ec70da188689e7838880801e06d3b1 /apt-pkg/acquire-worker.cc | |
parent | 63d3141a1f9875ad970ad7850e56a9bf97256895 (diff) |
More CD fixes
Author: jgg
Date: 2000-01-17 07:11:49 GMT
More CD fixes
Diffstat (limited to 'apt-pkg/acquire-worker.cc')
-rw-r--r-- | apt-pkg/acquire-worker.cc | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/apt-pkg/acquire-worker.cc b/apt-pkg/acquire-worker.cc index f6b14da3c..40092d5d6 100644 --- a/apt-pkg/acquire-worker.cc +++ b/apt-pkg/acquire-worker.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: acquire-worker.cc,v 1.28 1999/10/18 00:37:35 jgg Exp $ +// $Id: acquire-worker.cc,v 1.29 2000/01/17 07:11:49 jgg Exp $ /* ###################################################################### Acquire Worker @@ -257,7 +257,7 @@ bool pkgAcquire::Worker::RunMessages() LookupTag(Message,"Size","0").c_str(),TotalSize); Owner->Done(Message,atoi(LookupTag(Message,"Size","0").c_str()), - LookupTag(Message,"MD5-Hash")); + LookupTag(Message,"MD5-Hash"),Config); ItemDone(); // Log that we are done @@ -327,15 +327,19 @@ bool pkgAcquire::Worker::Capabilities(string Message) Config->SendConfig = StringToBool(LookupTag(Message,"Send-Config"),false); Config->LocalOnly = StringToBool(LookupTag(Message,"Local-Only"),false); Config->NeedsCleanup = StringToBool(LookupTag(Message,"Needs-Cleanup"),false); + Config->Removable = StringToBool(LookupTag(Message,"Removable"),false); // Some debug text if (Debug == true) { clog << "Configured access method " << Config->Access << endl; - clog << "Version:" << Config->Version << " SingleInstance:" << - Config->SingleInstance << - " Pipeline:" << Config->Pipeline << " SendConfig:" << - Config->SendConfig << endl; + clog << "Version:" << Config->Version << + " SingleInstance:" << Config->SingleInstance << + " Pipeline:" << Config->Pipeline << + " SendConfig:" << Config->SendConfig << + " LocalOnly: " << Config->LocalOnly << + " NeedsCleanup: " << Config->NeedsCleanup << + " Removable: " << Config->Removable << endl; } return true; |