summaryrefslogtreecommitdiff
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
commit3b3c92e65a29a26586011222e265fd8536e443d6 (patch)
tree88ec0904f8ff80cb73f22ff98ce6947b22c9e2fb /eclass/java.eclass
parentAdded doc and updated SLOT to 1.3. (diff)
downloadgentoo-2-3b3c92e65a29a26586011222e265fd8536e443d6.tar.gz
gentoo-2-3b3c92e65a29a26586011222e265fd8536e443d6.tar.bz2
gentoo-2-3b3c92e65a29a26586011222e265fd8536e443d6.zip
Fixes #5433.
Diffstat (limited to 'eclass/java.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`