diff options
author | Adrian Almenar <strider@gentoo.org> | 2003-11-08 21:40:53 +0000 |
---|---|---|
committer | Adrian Almenar <strider@gentoo.org> | 2003-11-08 21:40:53 +0000 |
commit | 19c4b1244e0e429f0e07d07e63e8548d753a23fe (patch) | |
tree | d5124e2512af13205329a836855c6606199c11a9 /eclass | |
parent | initial ebuild (diff) | |
download | historical-19c4b1244e0e429f0e07d07e63e8548d753a23fe.tar.gz historical-19c4b1244e0e429f0e07d07e63e8548d753a23fe.tar.bz2 historical-19c4b1244e0e429f0e07d07e63e8548d753a23fe.zip |
Not a definitive fix but helps a lot for now
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/java.eclass | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/eclass/java.eclass b/eclass/java.eclass index c9feb9b8af0a..2bc83d0cf0e2 100644 --- a/eclass/java.eclass +++ b/eclass/java.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/java.eclass,v 1.13 2003/11/04 03:47:09 strider Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java.eclass,v 1.14 2003/11/08 21:40:53 strider Exp $ # # Author: Karl Trygve Kalleberg <karltk@gentoo.org> @@ -42,10 +42,14 @@ function sed2() { } java_pkg_postinst() { - if [ -z `java-config --java 2> /dev/null` ] ; then - einfo "No default VM found, setting ${VMHANDLE} as default" +# if [ -z `java-config --java 2> /dev/null` ] ; then +# einfo "No default VM found, setting ${VMHANDLE} as default" + einfo "Setting ${VMHANDLE} as default" + einfo "Use java-config to reassign your VM." java-config --set-system-vm=${VMHANDLE} - fi + /usr/sbin/env-update + source /etc/profile +# fi } pkg_postinst() { |