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

  Server: cvs.openpkg.org                  Name:   Michael Schloh
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   02-Apr-2004 13:41:40
  Branch: HEAD                             Handle: 2004040212413900

  Modified files:
    openpkg-src/ripe-dbase  ripe-dbase.spec

  Log:
    add missing extra objects filter rc logic on package update and erase,
    and correct rm flags when deleting log files

  Summary:
    Revision    Changes     Path
    1.33        +8  -1      openpkg-src/ripe-dbase/ripe-dbase.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/ripe-dbase/ripe-dbase.spec
  ============================================================================
  $ cvs diff -u -r1.32 -r1.33 ripe-dbase.spec
  --- openpkg-src/ripe-dbase/ripe-dbase.spec    2 Apr 2004 11:11:37 -0000       1.32
  +++ openpkg-src/ripe-dbase/ripe-dbase.spec    2 Apr 2004 11:41:39 -0000       1.33
  @@ -223,6 +223,10 @@
           #   after upgrade, restart service
           eval `%{l_rc} ripe-dbase status 2>/dev/null`
           [ ".$ripe-dbase_active" = .yes ] && %{l_rc} ripe-dbase restart
  +%if "%{with_extobjs}" == "yes"
  +        eval `%{l_rc} ripe-filter status 2>/dev/null`
  +        [ ".$ripe-filter_active" = .yes ] && %{l_rc} ripe-filter restart
  +%endif
       fi
       exit 0
   
  @@ -230,7 +234,10 @@
       if [ $1 -eq 0 ]; then
           #   before erase, stop service and remove log files
           %{l_rc} ripe-dbase stop 2>/dev/null
  -        rm -f $RPM_INSTALL_PREFIX/var/ripe-dbase/log/* >/dev/null 2>&1 || true
  +%if "%{with_extobjs}" == "yes"
  +        %{l_rc} ripe-filter stop 2>/dev/null
  +%endif
  +        rm -rf $RPM_INSTALL_PREFIX/var/ripe-dbase/log/* >/dev/null 2>&1 || true
       fi
       exit 0
   
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to