]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-item.cc
sources.list and indextargets option for pdiffs
[apt.git] / apt-pkg / acquire-item.cc
index 7dcaa25a48e9d26e86ca71a76a1e2a4812ce96a5..4e9c435e1aa8351e4182ac6ec468d32b069aaf69 100644 (file)
@@ -957,7 +957,7 @@ void pkgAcqMetaBase::QueueIndexes(bool const verify)                        /*{{{*/
         Target != IndexTargets.end();
         ++Target)
    {
-      bool trypdiff = _config->FindB("Acquire::PDiffs", true);
+      bool trypdiff = Target->OptionBool(IndexTarget::PDIFFS);
       if (verify == true)
       {
         if (TransactionManager->MetaIndexParser->Exists(Target->MetaKey) == false)