diff options
Diffstat (limited to 'dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1-r1.ebuild')
-rw-r--r-- | dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1-r1.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1-r1.ebuild b/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1-r1.ebuild index 7e9de155a50a..763b4bbcb798 100644 --- a/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1-r1.ebuild +++ b/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1-r1.ebuild,v 1.3 2004/06/03 17:07:58 karltk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1-r1.ebuild,v 1.4 2004/06/03 20:28:45 karltk Exp $ inherit java nsplugins @@ -51,8 +51,8 @@ src_postinst(){ true } -pkg_postrm() { - if [ ! -z "$(java-config -J) | grep ${PV}" ] ; then +pkg_prerm() { + if [ ! -z "$(java-config -J | grep ${P})" ] ; then ewarn "It appears you are removing your default system VM!" ewarn "Please run java-config -L then java-config-S to set a new system VM!" fi |