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

  Server: cvs.openpkg.org                  Name:   Michael van Elst
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   24-Jun-2003 19:22:24
  Branch: HEAD                             Handle: 2003062418222300

  Modified files:
    openpkg-src/openpkg-tool
                            openpkg-build.pl

  Log:
    upgrade command line targets when possible

  Summary:
    Revision    Changes     Path
    1.83        +7  -0      openpkg-src/openpkg-tool/openpkg-build.pl
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg-tool/openpkg-build.pl
  ============================================================================
  $ cvs diff -u -r1.82 -r1.83 openpkg-build.pl
  --- openpkg-src/openpkg-tool/openpkg-build.pl 24 Jun 2003 15:24:02 -0000      1.82
  +++ openpkg-src/openpkg-tool/openpkg-build.pl 24 Jun 2003 17:22:23 -0000      1.83
  @@ -1320,6 +1320,13 @@
           return 'exact';
       }
       #
  +    # if target is goal
  +    # always update if installed version is older than repository
  +    #
  +    if ($target->{GOAL} && !grep { vcmp($vs, $_) <= 0; } keys %$vmap) {
  +        return 'goal';
  +    }
  +    #
       # if -U then
       # always update if installed version is older than repository
       #
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to