diff options
author | 2006-08-24 14:48:36 +0000 | |
---|---|---|
committer | 2006-08-24 14:48:36 +0000 | |
commit | 8b6d8995acc39310bc6be630da646f59a5451f52 (patch) | |
tree | 55a115c53ed850825e2653f9f34f93b188b0cb81 | |
parent | Applied java-config-2.0.26-nsplugin_ls_stderr.patch (diff) | |
download | java-config-2.0.27.tar.gz java-config-2.0.27.tar.bz2 java-config-2.0.27.zip |
Added profile.d file2.0.27
svn path=/projects/java-config-2/trunk/; revision=2630
-rw-r--r-- | src/java-config-2.profiled | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/java-config-2.profiled b/src/java-config-2.profiled new file mode 100644 index 0000000..4671966 --- /dev/null +++ b/src/java-config-2.profiled @@ -0,0 +1,12 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/files/java-config-2.profiled,v 1.1 2006/08/03 02:13:58 nichoj Exp $ + +# If we have a current-user-vm (and aren't root)... set it to JAVA_HOME +if [[ ${UID} != 0 && -L $HOME/.gentoo/java-config-2/current-user-vm ]]; then + export JAVA_HOME=$HOME/.gentoo/java-config-2/current-user-vm +# Otherwise set to the current system vm +elif [[ -L /etc/java-config-2/current-system-vm ]]; then + export JAVA_HOME=/etc/java-config-2/current-system-vm +fi +# |