summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-04-17 13:39:21 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-04-17 13:39:21 +0000
commit26b9f53ae79fd7843497fcf58acb8d906395ec7a (patch)
treee69f97a995d08fa68654d5e0adcd42f687182747 /eclass
parentbugfix release (diff)
downloadhistorical-26b9f53ae79fd7843497fcf58acb8d906395ec7a.tar.gz
historical-26b9f53ae79fd7843497fcf58acb8d906395ec7a.tar.bz2
historical-26b9f53ae79fd7843497fcf58acb8d906395ec7a.zip
Use ${PN} if ${BASH_COMPLETION_NAME} is unset.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/bash-completion.eclass6
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."