]> git.saurik.com Git - apt.git/commitdiff
* fix FTBFS
authorMichael Vogt <michael.vogt@ubuntu.com>
Thu, 30 Mar 2006 08:52:32 +0000 (10:52 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Thu, 30 Mar 2006 08:52:32 +0000 (10:52 +0200)
apt-pkg/acquire-item.cc

index d845d460546f505a3aa82d126990e6231d24bf0f..38977d2b1cc76f1b603d4952a5e5bbbdb8d3eb38 100644 (file)
@@ -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) || 
    //        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)
    {
       // 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 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);
    }
 }
                            (*Target)->ShortDesc, ExpectedIndexMD5);
    }
 }