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:   09-Dec-2004 14:27:30
  Branch: HEAD                             Handle: 2004120913273000

  Modified files:
    openpkg-src/fsl         fsl.spec

  Log:
    remove logfiles on deinstall

  Summary:
    Revision    Changes     Path
    1.73        +7  -1      openpkg-src/fsl/fsl.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/fsl/fsl.spec
  ============================================================================
  $ cvs diff -u -r1.72 -r1.73 fsl.spec
  --- openpkg-src/fsl/fsl.spec  18 Oct 2004 10:46:57 -0000      1.72
  +++ openpkg-src/fsl/fsl.spec  9 Dec 2004 13:27:30 -0000       1.73
  @@ -34,7 +34,7 @@
   Group:        System
   License:      MIT-style
   Version:      1.5.0
  -Release:      20041018
  +Release:      20041209
   
   #   package options
   %option       with_fsl_debuglogcode   no
  @@ -120,3 +120,9 @@
   %clean
       rm -rf $RPM_BUILD_ROOT
   
  +%preun
  +    #   before erase, remove log files
  +    [ $1 -eq 0 ] || exit 0
  +    rm -f $RPM_INSTALL_PREFIX/var/fsl/*
  +    exit 0
  +
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to