perfsonar-dev - [GEANT/SA2/ps-java-services] r5614 - trunk/perfsonar-java-xml-ls/packaging/rpm
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: [GEANT/SA2/ps-java-services] r5614 - trunk/perfsonar-java-xml-ls/packaging/rpm
- Date: Fri, 7 May 2010 10:27:31 +0100
Author: psnc.trzaszczka
Date: 2010-05-07 10:27:30 +0100 (Fri, 07 May 2010)
New Revision: 5614
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-05 13:59:02 UTC (rev 5613)
+++ trunk/perfsonar-java-xml-ls/packaging/rpm/perfsonar-java-xml-ls.specs
2010-05-07 09:27:30 UTC (rev 5614)
@@ -67,8 +67,12 @@
## make symlink for easy access to conf
%{__ln_s} -f %{prefix}/WEB-INF/classes/perfsonar/conf/*.xml
%{_sysconfdir}/%{name}
%{__ln_s} -f %{prefix}/WEB-INF/log %{_var}/log/%{name}
-%{__ln_s} -f %{prefix} %{_var}/lib/tomcat5/webapps/%{name} || true
-%{__ln_s} -f %{prefix} %{_var}/lib/tomcat5/webapps/%{old_name} || true
+if [ ! -e %{_var}/lib/tomcat5/webapps/%{name} ]; then
+ %{__ln_s} -f %{prefix} %{_var}/lib/tomcat5/webapps/%{name} || true
+fi
+if [ ! -e %{_var}/lib/tomcat5/webapps/%{old_name} ]; then
+ %{__ln_s} -f %{prefix} %{_var}/lib/tomcat5/webapps/%{old_name} ||
true
+fi
## restart tomcat
/sbin/service tomcat5 restart
- [GEANT/SA2/ps-java-services] r5614 - trunk/perfsonar-java-xml-ls/packaging/rpm, svn-noreply, 05/07/2010
Archive powered by MHonArc 2.6.16.