summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-03-30 10:52:32 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-03-30 10:52:32 +0200
commit81fcf9e22b9f93896ceb644c9341d9d53da9c790 (patch)
tree2511bc3b21e27b2f6d448d58047ca33d6333f6d5 /apt-pkg/acquire-item.cc
parent2ac3eeb60e9ea171cee7a05a02424e61fe50d400 (diff)
* fix FTBFS
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r--apt-pkg/acquire-item.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index d845d4605..38977d2b1 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -169,8 +169,7 @@ pkgAcqDiffIndex::pkgAcqDiffIndex(pkgAcquire *Owner,
// from local sources. this is really silly, and
// should be fixed cleanly as soon as possible
if(!FileExists(CurrentPackagesFile) ||
- Desc.URI.substr(0,strlen("file:/")) == "file:/" ||
- !_config->FindB("Acquire::Diffs",true))
+ Desc.URI.substr(0,strlen("file:/")) == "file:/")
{
// we don't have a pkg file or we don't want to queue
if(Debug)
@@ -1031,7 +1030,7 @@ void pkgAcqMetaIndex::QueueIndexes(bool verify)
new pkgAcqDiffIndex(Owner, (*Target)->URI, (*Target)->Description,
(*Target)->ShortDesc, ExpectedIndexMD5);
else
- new newPkgAcqIndex(Owner, (*Target)->URI, (*Target)->Description,
+ new pkgAcqIndex(Owner, (*Target)->URI, (*Target)->Description,
(*Target)->ShortDesc, ExpectedIndexMD5);
}
}