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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   20-Sep-2004 17:08:07
  Branch: HEAD                             Handle: 2004092016080600

  Modified files:
    openpkg-src/openpkg     HISTORY openpkg.spec

  Log:
    remove <prefix>/lib/openpkg/override directory and its files on
    deinstallation

  Summary:
    Revision    Changes     Path
    1.208       +1  -0      openpkg-src/openpkg/HISTORY
    1.356       +6  -1      openpkg-src/openpkg/openpkg.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/HISTORY
  ============================================================================
  $ cvs diff -u -r1.207 -r1.208 HISTORY
  --- openpkg-src/openpkg/HISTORY       12 Sep 2004 15:47:34 -0000      1.207
  +++ openpkg-src/openpkg/HISTORY       20 Sep 2004 15:08:06 -0000      1.208
  @@ -2,6 +2,7 @@
   2004
   ====
   
  +20040920 remove <prefix>/lib/openpkg/override directory and its files on 
deinstallation
   20040912 upgrade to OSSP uuid 1.0.2
   
   20040825 **** RELEASE AS PART OF OPENPKG 2.1.2 ***
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/openpkg.spec
  ============================================================================
  $ cvs diff -u -r1.355 -r1.356 openpkg.spec
  --- openpkg-src/openpkg/openpkg.spec  12 Sep 2004 15:47:34 -0000      1.355
  +++ openpkg-src/openpkg/openpkg.spec  20 Sep 2004 15:08:06 -0000      1.356
  @@ -39,7 +39,7 @@
   #   o any cc(1)
   
   #   the package version/release
  -%define       V_openpkg  20040912
  +%define       V_openpkg  20040920
   
   #   the used software versions
   %define       V_rpm      4.2.1
  @@ -1931,6 +1931,11 @@
   %preun
       [ ".$1" != .0 ] && exit 0
   
  +    #   remove override files
  +    if [ -d %{l_prefix}/lib/openpkg/override ]; then
  +        rm -rf %{l_prefix}/lib/openpkg/override >/dev/null 2>&1 || true
  +    fi
  +
       #   remove files which are not RPM controlled
       rm -rf %{l_prefix}/RPM/TMP/* %{l_prefix}/RPM/TMP/.[a-z]* >/dev/null 2>&1 || true
       rm -rf %{l_prefix}/RPM/SRC/* %{l_prefix}/RPM/SRC/.[a-z]* >/dev/null 2>&1 || true
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to