perfsonar-dev - perfsonar: r5246 - trunk/packaging/rpm/geant2-java-xml-ls
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r5246 - trunk/packaging/rpm/geant2-java-xml-ls
- Date: Thu, 6 Aug 2009 02:53:31 -0400
Author: trzaszcz
Date: 2009-08-06 02:53:29 -0400 (Thu, 06 Aug 2009)
New Revision: 5246
Modified:
trunk/packaging/rpm/geant2-java-xml-ls/geant2-java-xml-ls.specs
Log:
bug 823 solution
Modified: trunk/packaging/rpm/geant2-java-xml-ls/geant2-java-xml-ls.specs
===================================================================
--- trunk/packaging/rpm/geant2-java-xml-ls/geant2-java-xml-ls.specs
2009-08-05 08:29:18 UTC (rev 5245)
+++ trunk/packaging/rpm/geant2-java-xml-ls/geant2-java-xml-ls.specs
2009-08-06 06:53:29 UTC (rev 5246)
@@ -96,7 +96,13 @@
#%{__rm} -rf /etc/%{oldname}/*.xml
%{__rm} -rf %{_var}/log/%{oldname}
%{__rm} -rf %{_var}/lib/tomcat5/webapps/%{oldname}
+if [ ! -e %{prefix}/WEB-INF/classes/perfsonar/conf/service.properties ]; then
+ %{__rm} -rf %{_sysconfdir}/%{oldname}/*.properties || true
+ %{__rm} -rf %{_sysconfdir}/%{oldname}/objects.config || true
+ %{__rm} -rf %{_sysconfdir}/%{oldname}/*.xml || true
+fi
+
%postun
## restart tomcat
/sbin/service tomcat5 restart
- perfsonar: r5246 - trunk/packaging/rpm/geant2-java-xml-ls, svnlog, 08/06/2009
Archive powered by MHonArc 2.6.16.