diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-01-02 11:56:08 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-01-02 11:56:08 +0000 |
commit | 15102f184b5c59ba88f5aa8022f6e313297b76f2 (patch) | |
tree | 1b9380c1b604aa350c6c2c2bee725081a135b011 /eclass/bash-completion.eclass | |
parent | arm/hppa stable #74333 (Manifest recommit) (diff) | |
download | gentoo-2-15102f184b5c59ba88f5aa8022f6e313297b76f2.tar.gz gentoo-2-15102f184b5c59ba88f5aa8022f6e313297b76f2.tar.bz2 gentoo-2-15102f184b5c59ba88f5aa8022f6e313297b76f2.zip |
Added app-shells/bash-completion-config to RDEPEND.
Diffstat (limited to 'eclass/bash-completion.eclass')
-rw-r--r-- | eclass/bash-completion.eclass | 32 |
1 files changed, 12 insertions, 20 deletions
diff --git a/eclass/bash-completion.eclass b/eclass/bash-completion.eclass index 84af38b8a6d0..d69f5bce686b 100644 --- a/eclass/bash-completion.eclass +++ b/eclass/bash-completion.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion.eclass,v 1.7 2004/12/30 00:18:25 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion.eclass,v 1.8 2005/01/02 11:56:08 ka0ttic Exp $ # # Simple eclass that provides an interface for installing # contributed (ie not included in bash-completion proper) @@ -16,8 +16,8 @@ EXPORT_FUNCTIONS pkg_postinst IUSE="${IUSE} bash-completion" -#RDEPEND="${RDEPEND} -# bash-completion? ( app-shells/bash-completion-config )" +RDEPEND="${RDEPEND} + bash-completion? ( app-shells/bash-completion-config )" # dobashcompletion <file> <new file> # First arg, <file>, is required and is the location of the bash-completion @@ -38,23 +38,15 @@ bash-completion_pkg_postinst() { if useq bash-completion ; then echo einfo "To enable command-line completion for ${PN}, run:" - - # NOTE: this is temporary; bash-completion-config will be in RDEPEND - # once it goes stable and can be used as a dependency. - if has_version 'app-shells/bash-completion-config' ; then - einfo - einfo " bash-completion-config --install ${BASH_COMPLETION_NAME}" - einfo - einfo "to install locally, or" - einfo - einfo " bash-completion-config --global --install ${BASH_COMPLETION_NAME}" - einfo - einfo "to install system-wide." - einfo "Read bash-completion-config(1) for more information." - else - einfo " ln -s /usr/share/bash-completion/${BASH_COMPLETION_NAME} \\ " - einfo " /etc/bash_completion.d/" - fi + einfo + einfo " bash-completion-config --install ${BASH_COMPLETION_NAME}" + einfo + einfo "to install locally, or" + einfo + einfo " bash-completion-config --global --install ${BASH_COMPLETION_NAME}" + einfo + einfo "to install system-wide." + einfo "Read bash-completion-config(1) for more information." echo fi } |