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

Diff of /eclass/alternatives.eclass

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

Revision 1.9 Revision 1.10
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
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# $Header: /var/cvsroot/gentoo-x86/eclass/alternatives.eclass,v 1.9 2004/06/25 00:39:48 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/alternatives.eclass,v 1.10 2005/07/06 20:20:03 agriffis Exp $
4 4
5# Author : Alastair Tse <liquidx@gentoo.org> (03 Oct 2003) 5# Author : Alastair Tse <liquidx@gentoo.org> (03 Oct 2003)
6# Short Desc: Creates symlink to the latest version of multiple slotted 6# Short Desc: Creates symlink to the latest version of multiple slotted
7# packages. 7# packages.
8# 8#
40# 40#
41# This will use bash pathname expansion to fill a list of alternatives it can 41# This will use bash pathname expansion to fill a list of alternatives it can
42# link to. It is probably more robust against version upgrades. You should 42# link to. It is probably more robust against version upgrades. You should
43# consider using this unless you are want to do something special. 43# consider using this unless you are want to do something special.
44# 44#
45ECLASS="alternatives"
46INHERITED="$INHERITED $ECLASS" 45INHERITED="$INHERITED $ECLASS"
47 46
48# automatic deduction based on a symlink and a regex mask 47# automatic deduction based on a symlink and a regex mask
49alternatives_auto_makesym() { 48alternatives_auto_makesym() {
50 local SYMLINK REGEX ALT myregex 49 local SYMLINK REGEX ALT myregex

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20