]> git.saurik.com Git - apt.git/commitdiff
Fixed minor configuration ordering frooble
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:57:43 +0000 (16:57 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:57:43 +0000 (16:57 +0000)
Author: jgg
Date: 2001-04-27 04:47:58 GMT
Fixed minor configuration ordering frooble

apt-pkg/orderlist.cc

index 4bd60372679d3099b110f54d8d6eccc4c9997eb2..1f64db908a992b09436c0652d667f1635764802d 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: orderlist.cc,v 1.12 2001/02/20 07:03:17 jgg Exp $
+// $Id: orderlist.cc,v 1.13 2001/04/27 04:47:58 jgg Exp $
 /* ######################################################################
 
    Order List - Represents and Manipulates an ordered list of packages.
@@ -119,8 +119,11 @@ bool pkgOrderList::IsMissing(PkgIterator Pkg)
    if (Pkg.State() == pkgCache::PkgIterator::NeedsConfigure && 
        Cache[Pkg].Keep() == true)
       return false;
+
+   if (FileList == 0)
+      return false;
    
-   if (FileList != 0 && FileList[Pkg->ID].empty() == false)
+   if (FileList[Pkg->ID].empty() == false)
       return false;
    return true;
 }