360 $RPM_INSTALL_PREFIX/lib/chiliproj/log/production.log \ |
360 $RPM_INSTALL_PREFIX/lib/chiliproj/log/production.log \ |
361 $RPM_INSTALL_PREFIX/lib/chiliproj/config/initializers/session_store.rb \ |
361 $RPM_INSTALL_PREFIX/lib/chiliproj/config/initializers/session_store.rb \ |
362 $RPM_INSTALL_PREFIX/lib/chiliproj/db/* \ |
362 $RPM_INSTALL_PREFIX/lib/chiliproj/db/* \ |
363 $RPM_INSTALL_PREFIX/lib/chiliproj/db/*/* |
363 $RPM_INSTALL_PREFIX/lib/chiliproj/db/*/* |
364 ) || exit $? |
364 ) || exit $? |
|
365 echo 'ChiliProject installation done.' |
365 fi |
366 fi |
366 # after upgrade, restart service |
367 # after upgrade, restart service |
367 [ $1 -eq 2 ] || exit 0 |
368 [ $1 -eq 2 ] || exit 0 |
368 eval `%{l_rc} chiliproj status 2>/dev/null` |
369 eval `%{l_rc} chiliproj status 2>/dev/null` |
369 [ ".$chiliproj_active" = .yes ] && %{l_rc} chiliproj restart |
370 [ ".$chiliproj_active" = .yes ] && %{l_rc} chiliproj restart |