summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-08-26 16:41:50 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-08-26 16:41:50 +0000
commit9feee27d1fbfc4561e2babdd35243d44b1b7593f (patch)
tree385e86acdd5209c8e070f502fdad5b347501392b /eclass
parentAdded doc and updated SLOT to 1.3. (diff)
downloadhistorical-9feee27d1fbfc4561e2babdd35243d44b1b7593f.tar.gz
historical-9feee27d1fbfc4561e2babdd35243d44b1b7593f.tar.bz2
historical-9feee27d1fbfc4561e2babdd35243d44b1b7593f.zip
Fixes #5433.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java.eclass10
1 files changed, 9 insertions, 1 deletions
diff --git a/eclass/java.eclass b/eclass/java.eclass
index 1f05905e4ed8..67628abb05dc 100644
--- a/eclass/java.eclass
+++ b/eclass/java.eclass
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Karl Trygve Kalleberg <karltk@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/java.eclass,v 1.2 2002/07/12 15:24:36 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java.eclass,v 1.3 2002/08/26 16:41:50 karltk Exp $
ECLASS=java
INHERITED="$INHERITED $ECLASS"
@@ -71,6 +71,14 @@ set_java_env() {
> ${D}/etc/env.d/java/20`basename $1` || die
}
+pkg_postrm() {
+ java_rm_env ${VMHANDLE}
+}
+
+java_rm_env() {
+ rm -f ${ROOT}/etc/env.d/java/20`basename $1` || die
+}
+
install_mozilla_plugin() {
local bn
bn=`basename $1`