summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-11-20 17:17:57 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-11-20 17:17:57 +0000
commitbb8bc1899658e78ac8eb4c3cb6b573c38e1588dc (patch)
tree1ce645b84edce8b22eab7ea266393185ef0e753c /eclass/nsplugins.eclass
parentchase latest and #10819 (diff)
downloadhistorical-bb8bc1899658e78ac8eb4c3cb6b573c38e1588dc.tar.gz
historical-bb8bc1899658e78ac8eb4c3cb6b573c38e1588dc.tar.bz2
historical-bb8bc1899658e78ac8eb4c3cb6b573c38e1588dc.zip
fix foobar
Diffstat (limited to 'eclass/nsplugins.eclass')
-rw-r--r--eclass/nsplugins.eclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/eclass/nsplugins.eclass b/eclass/nsplugins.eclass
index 8bd233fe4a5d..efd89ee4338b 100644
--- a/eclass/nsplugins.eclass
+++ b/eclass/nsplugins.eclass
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Author: Martin Schlemmer <azarah@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.1 2002/11/20 15:09:29 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.2 2002/11/20 17:17:57 azarah Exp $
# Just some re-usable functions for the netscape/moz plugins sharing
ECLASS=nsplugins
@@ -17,10 +17,10 @@ PLUGINS_DIR="nsbrowser/plugins"
src_mv_plugins() {
# Move plugins dir
- dodir /usr/lib/${PLUGIN_DIR}
- cp -a ${D}/$1/* ${D}/usr/lib/${PLUGIN_DIR}
+ dodir /usr/lib/${PLUGINS_DIR}
+ cp -a ${D}/$1/* ${D}/usr/lib/${PLUGINS_DIR}
rm -rf ${D}/$1
- dosym ../${PLUGIN_DIR} $1
+ dosym ../${PLUGINS_DIR} $1
}
# This function move plugins in pkg_preinst() in old dir to
@@ -29,10 +29,10 @@ src_mv_plugins() {
pkg_mv_plugins() {
# Move old plugins dir
- if [ -d ${ROOT}/usr/lib/mozilla/plugins ]
+ if [ -d ${ROOT}/$1 ]
then
- mkdir -p ${ROOT}/usr/lib/${PLUGIN_DIR}
- cp -a ${ROOT}/$1/* ${ROOT}/usr/lib/${PLUGIN_DIR}
+ mkdir -p ${ROOT}/usr/lib/${PLUGINS_DIR}
+ cp -a ${ROOT}/$1/* ${ROOT}/usr/lib/${PLUGINS_DIR}
rm -rf ${ROOT}/$1
fi
}