diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-06-03 20:28:45 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-06-03 20:28:45 +0000 |
commit | 01054ed3fa0dc64ae460adfee38b0bc9d2ce4481 (patch) | |
tree | 0b48030f6aa0faa361288bc886694ceec02eeb37 /dev-java/ibm-jre-bin | |
parent | version bump; cleanup ebuild (Manifest recommit) (diff) | |
download | gentoo-2-01054ed3fa0dc64ae460adfee38b0bc9d2ce4481.tar.gz gentoo-2-01054ed3fa0dc64ae460adfee38b0bc9d2ce4481.tar.bz2 gentoo-2-01054ed3fa0dc64ae460adfee38b0bc9d2ce4481.zip |
More uninstall fixes.
Diffstat (limited to 'dev-java/ibm-jre-bin')
-rw-r--r-- | dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1-r1.ebuild | 6 | ||||
-rw-r--r-- | dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1.ebuild | 6 |
2 files changed, 6 insertions, 6 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 diff --git a/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1.ebuild b/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1.ebuild index 13a7a2b57ac5..4d446d70fe3a 100644 --- a/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1.ebuild +++ b/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1.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.ebuild,v 1.6 2004/06/03 17:07:58 karltk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1.ebuild,v 1.7 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 |