/[gentoo-x86]/eclass/nsplugins.eclass
Gentoo

Diff of /eclass/nsplugins.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2002 Gentoo Technologies, Inc. 1# Copyright 1999-2002 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# Author: Martin Schlemmer <azarah@gentoo.org> 3# Author: Martin Schlemmer <azarah@gentoo.org>
4# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.2 2002/11/20 17:17:57 azarah Exp $ 4# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.3 2002/11/20 17:26:27 azarah Exp $
5# Just some re-usable functions for the netscape/moz plugins sharing 5# Just some re-usable functions for the netscape/moz plugins sharing
6 6
7ECLASS=nsplugins 7ECLASS=nsplugins
8INHERITED="$INHERITED $ECLASS" 8INHERITED="$INHERITED $ECLASS"
9 9
23 dosym ../${PLUGINS_DIR} $1 23 dosym ../${PLUGINS_DIR} $1
24} 24}
25 25
26# This function move plugins in pkg_preinst() in old dir to 26# This function move plugins in pkg_preinst() in old dir to
27# ${ROOT}//usr/lib/${PLUGIN_DIR}. First argument should be 27# ${ROOT}//usr/lib/${PLUGIN_DIR}. First argument should be
28# the full path (without $D) to old plugin dir. 28# the full path (without $ROOT) to old plugin dir.
29pkg_mv_plugins() { 29pkg_mv_plugins() {
30 30
31 # Move old plugins dir 31 # Move old plugins dir
32 if [ -d ${ROOT}/$1 ] 32 if [ -d ${ROOT}/$1 ]
33 then 33 then

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20