[med-svn] r5749 - trunk/packages/biomaj-watcher/trunk/debian
olivier sallou
osallou-guest at alioth.debian.org
Sat Jan 29 16:46:03 UTC 2011
Author: osallou-guest
Date: 2011-01-29 16:46:03 +0000 (Sat, 29 Jan 2011)
New Revision: 5749
Modified:
trunk/packages/biomaj-watcher/trunk/debian/postinst
trunk/packages/biomaj-watcher/trunk/debian/prerm
Log:
set biomaj jar in tomcat shared libs
Modified: trunk/packages/biomaj-watcher/trunk/debian/postinst
===================================================================
--- trunk/packages/biomaj-watcher/trunk/debian/postinst 2011-01-29 16:45:22 UTC (rev 5748)
+++ trunk/packages/biomaj-watcher/trunk/debian/postinst 2011-01-29 16:46:03 UTC (rev 5749)
@@ -37,7 +37,7 @@
java -cp $biomajwatcher_root/bin WatcherConfigurator bmajroot:=$bmajroot bmajconf:=$bmajconf use_ldap:=$use_ldap ldap_host:=$ldap_host ldap_dn:=$ldap_dn opt_filter:=$opt_filter app_login:=$app_login app_passwd:=$app_passwd
mkdir -p /usr/share/java/webapps/biomaj-watcher/WEB-INF/lib
-cp /usr/share/biomaj/lib/biomaj.jar /usr/share/java/webapps/biomaj-watcher/WEB-INF/lib
+cp /usr/share/biomaj/lib/biomaj.jar /var/lib/tomcat6/shared/
cp /etc/biomaj-watcher/BmajWatcher*.xml /var/lib/tomcat6/conf/Catalina/localhost/
Modified: trunk/packages/biomaj-watcher/trunk/debian/prerm
===================================================================
--- trunk/packages/biomaj-watcher/trunk/debian/prerm 2011-01-29 16:45:22 UTC (rev 5748)
+++ trunk/packages/biomaj-watcher/trunk/debian/prerm 2011-01-29 16:46:03 UTC (rev 5749)
@@ -20,4 +20,8 @@
rm /var/lib/tomcat6/conf/Catalina/localhost/BmajWatcher#logs.xml
fi
+if [ -e /usr/share/biomaj-watcher/bin/WatcherConfigurator.class ]; then
+ rm /usr/share/biomaj-watcher/bin/WatcherConfigurator.class
+fi
+
#DEBHELPER#
More information about the debian-med-commit
mailing list