Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r4316 - trunk/packaging/deb/geant2-java-sql-ma

Subject: perfsonar development work

List archive

perfsonar: r4316 - trunk/packaging/deb/geant2-java-sql-ma


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r4316 - trunk/packaging/deb/geant2-java-sql-ma
  • Date: Tue, 29 Jul 2008 10:15:48 -0400

Author: roman
Date: 2008-07-29 10:15:47 -0400 (Tue, 29 Jul 2008)
New Revision: 4316

Modified:
trunk/packaging/deb/geant2-java-sql-ma/postinst
trunk/packaging/deb/geant2-java-sql-ma/postrm
Log:


Modified: trunk/packaging/deb/geant2-java-sql-ma/postinst
===================================================================
--- trunk/packaging/deb/geant2-java-sql-ma/postinst 2008-07-29 14:11:20
UTC (rev 4315)
+++ trunk/packaging/deb/geant2-java-sql-ma/postinst 2008-07-29 14:15:47
UTC (rev 4316)
@@ -20,7 +20,15 @@

case "$1" in
configure)
+ if [ -h /etc/geant2-java-sql-ma ]
+ then
+ rm /etc/geant2-java-sql-ma
+ fi
ln -sf
/var/lib/tomcat5.5/webapps/geant2-java-sql-ma/WEB-INF/classes/perfsonar/conf
/etc/geant2-java-sql-ma || true
+ if [ -h /var/log/geant2-java-sql-ma ]
+ then
+ rm /var/log/geant2-java-sql-ma
+ fi
ln -s /var/log/tomcat5.5 /var/log/geant2-java-sql-ma || true
chown -R tomcat55
/var/lib/tomcat5.5/webapps/geant2-java-sql-ma/WEB-INF/classes/perfsonar/conf/*
/etc/init.d/tomcat5.5 restart

Modified: trunk/packaging/deb/geant2-java-sql-ma/postrm
===================================================================
--- trunk/packaging/deb/geant2-java-sql-ma/postrm 2008-07-29 14:11:20
UTC (rev 4315)
+++ trunk/packaging/deb/geant2-java-sql-ma/postrm 2008-07-29 14:15:47
UTC (rev 4316)
@@ -21,6 +21,15 @@

case "$1" in
purge)
+ if [ -h /etc/geant2-java-sql-ma ]
+ then
+ rm /etc/geant2-java-sql-ma
+ fi
+ if [ -h /var/log/geant2-java-sql-ma ]
+ then
+ rm /var/log/geant2-java-sql-ma
+ fi
+ rm -fr /usr/share/doc/geant2-java-sql-ma
;;

remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)



  • perfsonar: r4316 - trunk/packaging/deb/geant2-java-sql-ma, svnlog, 07/29/2008

Archive powered by MHonArc 2.6.16.

Top of Page