diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-04-17 13:39:21 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-04-17 13:39:21 +0000 |
commit | 26b9f53ae79fd7843497fcf58acb8d906395ec7a (patch) | |
tree | e69f97a995d08fa68654d5e0adcd42f687182747 /eclass/bash-completion.eclass | |
parent | bugfix release (diff) | |
download | historical-26b9f53ae79fd7843497fcf58acb8d906395ec7a.tar.gz historical-26b9f53ae79fd7843497fcf58acb8d906395ec7a.tar.bz2 historical-26b9f53ae79fd7843497fcf58acb8d906395ec7a.zip |
Use ${PN} if ${BASH_COMPLETION_NAME} is unset.
Diffstat (limited to 'eclass/bash-completion.eclass')
-rw-r--r-- | eclass/bash-completion.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/bash-completion.eclass b/eclass/bash-completion.eclass index fa1eda481720..a7260368d579 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.9 2005/03/14 10:45:11 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion.eclass,v 1.10 2005/04/17 13:39:21 ka0ttic Exp $ # # Simple eclass that provides an interface for installing # contributed (ie not included in bash-completion proper) @@ -43,11 +43,11 @@ bash-completion_pkg_postinst() { echo einfo "To enable command-line completion for ${PN}, run:" einfo - einfo " bash-completion-config --install ${BASH_COMPLETION_NAME}" + einfo " bash-completion-config --install ${BASH_COMPLETION_NAME:-${PN}}" einfo einfo "to install locally, or" einfo - einfo " bash-completion-config --global --install ${BASH_COMPLETION_NAME}" + einfo " bash-completion-config --global --install ${BASH_COMPLETION_NAME:-${PN}}" einfo einfo "to install system-wide." einfo "Read bash-completion-config(1) for more information." |