diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-07-31 12:38:22 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-07-31 12:38:22 +0000 |
commit | f263492b2e6efc96478a7fe7ae6eb61fb6d0e3fe (patch) | |
tree | e4865903d770037a31aad69a98afbcc4ebff2df9 /eclass | |
parent | Added ~hppa; updated ebuilds to not use bash-completion.eclass; also added mi... (diff) | |
download | gentoo-2-f263492b2e6efc96478a7fe7ae6eb61fb6d0e3fe.tar.gz gentoo-2-f263492b2e6efc96478a7fe7ae6eb61fb6d0e3fe.tar.bz2 gentoo-2-f263492b2e6efc96478a7fe7ae6eb61fb6d0e3fe.zip |
Updated to depend on bash-completion-config -OR- eselect, preferring the
latter if available. Unfortunately, keeping bash-completion-config around
is necessary since eselect currently lacks stable keywords.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/bash-completion.eclass | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/eclass/bash-completion.eclass b/eclass/bash-completion.eclass index 02f103b32b44..3a8c456fc985 100644 --- a/eclass/bash-completion.eclass +++ b/eclass/bash-completion.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion.eclass,v 1.15 2005/07/11 15:08:06 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion.eclass,v 1.16 2005/07/31 12:38:22 ka0ttic Exp $ # # Simple eclass that provides an interface for installing # contributed (ie not included in bash-completion proper) @@ -14,7 +14,14 @@ EXPORT_FUNCTIONS pkg_postinst IUSE="bash-completion" -RDEPEND="bash-completion? ( app-shells/bash-completion-config )" +# bash-completion-config is deprecated in favor of eselect, +# however, eselect currently lacks stable keywords. +RDEPEND="bash-completion? + ( || ( + app-admin/eselect + app-shells/bash-completion-config + ) + )" # dobashcompletion <file> <new file> # First arg, <file>, is required and is the location of the bash-completion |