[med-svn] r7244 - trunk/packages/biomaj/trunk/debian
olivier sallou
osallou-guest at alioth.debian.org
Mon Jul 11 07:35:07 UTC 2011
Author: osallou-guest
Date: 2011-07-11 07:35:06 +0000 (Mon, 11 Jul 2011)
New Revision: 7244
Modified:
trunk/packages/biomaj/trunk/debian/postinst
Log:
set jdk gome automatically
Modified: trunk/packages/biomaj/trunk/debian/postinst
===================================================================
--- trunk/packages/biomaj/trunk/debian/postinst 2011-07-11 07:28:36 UTC (rev 7243)
+++ trunk/packages/biomaj/trunk/debian/postinst 2011-07-11 07:35:06 UTC (rev 7244)
@@ -9,9 +9,9 @@
configure)
ant_home="/usr/share/ant"
biomaj_root="/usr/share/biomaj"
-
- db_get biomaj/jdk_home
- jdk_home="$RET"
+ jdk_home=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
+ #db_get biomaj/jdk_home
+ #jdk_home="$RET"
db_type="MySQL"
db_get biomaj/mysql_host
db_url="jdbc:mysql://$RET/biomaj_log"
More information about the debian-med-commit
mailing list