Skip to Content.
Sympa Menu

perfsonar-dev - [GEANT/SA2/ps-java-services] r5616 - trunk/perfsonar-java-xml-ls/packaging/rpm

Subject: perfsonar development work

List archive

[GEANT/SA2/ps-java-services] r5616 - trunk/perfsonar-java-xml-ls/packaging/rpm


Chronological Thread 
  • From:
  • To:
  • Subject: [GEANT/SA2/ps-java-services] r5616 - trunk/perfsonar-java-xml-ls/packaging/rpm
  • Date: Fri, 7 May 2010 14:52:11 +0100

Author: psnc.trzaszczka
Date: 2010-05-07 14:52:11 +0100 (Fri, 07 May 2010)
New Revision: 5616

Modified:
trunk/perfsonar-java-xml-ls/packaging/rpm/perfsonar-java-xml-ls.specs
Log:


Modified:
trunk/perfsonar-java-xml-ls/packaging/rpm/perfsonar-java-xml-ls.specs
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/rpm/perfsonar-java-xml-ls.specs
2010-05-07 09:42:59 UTC (rev 5615)
+++ trunk/perfsonar-java-xml-ls/packaging/rpm/perfsonar-java-xml-ls.specs
2010-05-07 13:52:11 UTC (rev 5616)
@@ -84,12 +84,15 @@
if [ ! -e %{prefix}/WEB-INF/classes/perfsonar/conf/configuration.xml ]; then
%{__rm} -rf %{_sysconfdir}/%{name}/*.xml || true
%{__rm} -rf %{_var}/log/%{name} || true
- %{__rm} -rf %{_var}/lib/tomcat5/webapps/%{name} || true
- %{__rm} -rf %{_var}/lib/tomcat5/webapps/%{old_name} || true
fi
+if [ -e %{_var}/lib/tomcat5/webapps/%{name} ]; then
+ %{__rm} -rf %{_var}/lib/tomcat5/webapps/%{name} || true
+fi
+if [ -e %{_var}/lib/tomcat5/webapps/%{old_name} ]; then
+ %{__rm} -rf %{_var}/lib/tomcat5/webapps/%{old_name} || true
+fi


-
%postun
## restart tomcat
/sbin/service tomcat5 restart



  • [GEANT/SA2/ps-java-services] r5616 - trunk/perfsonar-java-xml-ls/packaging/rpm, svn-noreply, 05/07/2010

Archive powered by MHonArc 2.6.16.

Top of Page