]> git.saurik.com Git - apt.git/commitdiff
Fixed --force-yes bug
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:51:53 +0000 (16:51 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:51:53 +0000 (16:51 +0000)
Author: jgg
Date: 1998-12-05 04:36:10 GMT
Fixed --force-yes bug

cmdline/apt-get.cc

index 49eca83acd052171dc23c2c71753e0cd6e138b08..2ae16a00a2bd3fdc5d90b7bc8147bd49455580ba 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: apt-get.cc,v 1.22 1998/12/05 04:30:34 jgg Exp $
+// $Id: apt-get.cc,v 1.23 1998/12/05 04:36:10 jgg Exp $
 /* ######################################################################
    
    apt-get - Cover for dpkg
@@ -468,10 +468,10 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask = true)
    ShowNew(c1out,Cache);
    if (ShwKept == true)
       ShowKept(c1out,Cache);
-   Fail |= ShowHold(c1out,Cache);
+   Fail |= !ShowHold(c1out,Cache);
    if (_config->FindB("APT::Get::Show-Upgraded",false) == true)
       ShowUpgraded(c1out,Cache);
-   Fail |= ShowEssential(c1out,Cache);
+   Fail |= !ShowEssential(c1out,Cache);
    Stats(c1out,Cache);
    
    // Sanity check