(file) Return to tog-pegasus.spec CVS log (file) (dir) Up to [Pegasus] / pegasus / rpm

Diff for /pegasus/rpm/tog-pegasus.spec between version 1.20.2.36 and 1.20.2.37

version 1.20.2.36, 2005/12/15 08:01:51 version 1.20.2.37, 2005/12/16 01:24:47
Line 799 
Line 799 
 fi fi
  
 %preun devel %preun devel
   if [ $1 -eq 0 ]; then
      # Check if the cimserver is running
      rm -f %PEGASUS_SBIN_DIR/RPM_CIMSERVER_STARTED
      isRunning=`ps -el | grep cimserver | grep -v "grep cimserver"`
      if [ ! "$isRunning" ]; then
           %PEGASUS_SBIN_DIR/cimserver
           touch %PEGASUS_SBIN_DIR/RPM_CIMSERVER_STARTED
      fi
 make --directory  %PEGASUS_SAMPLES_DIR -s clean make --directory  %PEGASUS_SAMPLES_DIR -s clean
 make --directory  %PEGASUS_SAMPLES_DIR/Providers/Load deregisterproviders     make --directory  %PEGASUS_SAMPLES_DIR/Providers/Load -i deregisterproviders
      if [ -f %PEGASUS_SBIN_DIR/RPM_CIMSERVER_STARTED ]
      then
           rm %PEGASUS_SBIN_DIR/RPM_CIMSERVER_STARTED
           %PEGASUS_SBIN_DIR/cimserver -s
      fi
   fi
  
 %if %{PEGASUS_BUILD_TEST_RPM} %if %{PEGASUS_BUILD_TEST_RPM}
 %preun test %preun test


Legend:
Removed from v.1.20.2.36  
changed lines
  Added in v.1.20.2.37

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2