diff options
author | Tilman Klar <phoenix@gentoo.org> | 2002-11-21 19:23:20 +0000 |
---|---|---|
committer | Tilman Klar <phoenix@gentoo.org> | 2002-11-21 19:23:20 +0000 |
commit | 6e1c83c5328f97dc2eec45cf53cbafac4002ea12 (patch) | |
tree | 116d1c396d1c58ceb5ac055977bc4fce39d19d7e /eclass | |
parent | nsplugins mask (diff) | |
download | historical-6e1c83c5328f97dc2eec45cf53cbafac4002ea12.tar.gz historical-6e1c83c5328f97dc2eec45cf53cbafac4002ea12.tar.bz2 historical-6e1c83c5328f97dc2eec45cf53cbafac4002ea12.zip |
New function: inst_plugin
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/nsplugins.eclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/nsplugins.eclass b/eclass/nsplugins.eclass index 88f8aec9b08a..d657c8348603 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.3 2002/11/20 17:26:27 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.4 2002/11/21 19:23:20 phoenix Exp $ # Just some re-usable functions for the netscape/moz plugins sharing ECLASS=nsplugins @@ -37,3 +37,9 @@ pkg_mv_plugins() { fi } +# This function installs a plugin with dosym to PLUGINS_DIR. +# First argument should be the plugin file. +inst_plugin() { + dodir /usr/lib/${PLUGINS_DIR} + dosym ${1} ${ROOT}/usr/lib/${PLUGINS_DIR} +} |