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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-doc                      Date:   16-Jul-2003 12:58:59
  Branch: HEAD                             Handle: 2003071611585900

  Modified files:
    openpkg-doc/handbook    00TODO

  Log:
    remember a few important things

  Summary:
    Revision    Changes     Path
    1.28        +32 -0      openpkg-doc/handbook/00TODO
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-doc/handbook/00TODO
  ============================================================================
  $ cvs diff -u -r1.27 -r1.28 00TODO
  --- openpkg-doc/handbook/00TODO       2 Jun 2003 14:04:15 -0000       1.27
  +++ openpkg-doc/handbook/00TODO       16 Jul 2003 10:58:59 -0000      1.28
  @@ -302,3 +302,35 @@
   
     Examples: perl, gcc, mysql, gd, tomcat
   
  +Script Execution
  +----------------
  +
  +section install erase   upgrade reinstall
  +------- ------- ------- ------- ---------
  +%pre    1       -       2       2
  +%post   1       -       2       2
  +%preun  -       0       1       -
  +%postun -       0       1       -
  +
  +("reinstall" is the case where one uses the --force option to rpm (-i or
  +-U) to install the same version of the package that already is in the
  +system. "-" means that the scriptlet will not be run in this phase)
  +
  +The order in which scripts are executed on a single package install:
  +new-%pre    $1=1 for new version of package being installed
  +...              (all new files are installed and override old versions)
  +new-%post   $1=1 for new version of package being installed
  +
  +The order in which scripts are executed on a single package upgrade:
  +new-%pre    $1=2 for new version of package being installed
  +...              (all new files are installed and override old versions)
  +new-%post   $1=2 for new version of package being installed
  +old-%preun  $1=1 for old version of package being removed
  +...              (all old files are removed which are not part of the new package)
  +old-%postun $1=1 for old version of package being removed
  +
  +The order in which scripts are executed on a single package erase:
  +old-%preun  $1=0 for old version of package being removed
  +...              (all old files are removed which are not part of the new package)
  +old-%postun $1=0 for old version of package being removed
  +
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to