Explorar o código

Fixed --force-yes bug
Author: jgg
Date: 1998-12-05 04:36:10 GMT
Fixed --force-yes bug

Arch Librarian %!s(int64=22) %!d(string=hai) anos
pai
achega
7a215bee41
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      cmdline/apt-get.cc

+ 3 - 3
cmdline/apt-get.cc

@@ -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