OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Michael van Elst
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-re                       Date:   17-Nov-2002 10:20:43
  Branch: HEAD                             Handle: 2002111709204200

  Modified files:
    openpkg-re              openpkg-build

  Log:
    fix upgrade logic error.

  Summary:
    Revision    Changes     Path
    1.24        +2  -1      openpkg-re/openpkg-build
  ____________________________________________________________________________

  Index: openpkg-re/openpkg-build
  ============================================================
  $ cvs diff -u -r1.23 -r1.24 openpkg-build
  --- openpkg-re/openpkg-build  14 Nov 2002 13:19:00 -0000      1.23
  +++ openpkg-re/openpkg-build  17 Nov 2002 09:20:42 -0000      1.24
  @@ -721,7 +721,8 @@
       } elsif ($env->{installed}->{$target->{name}}) {
           if (target_exists($target, $env->{installed})) {
               if (target_suitable($target, $env->{with})) {
  -                unless ($env->{upgrade} && target_newer($target, 
$env->{installed})) {
  +                unless ($env->{upgrade} ||
  +                        target_newer($target, $env->{installed})) {
                       print "# $target->{name} is already installed\n";
                       return;
                   }
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to