summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-07-16 00:51:20 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-07-16 00:51:20 +0000
commit6298b8feac891cfba74fedd1ae0ded138822b0c6 (patch)
tree12bf8e280747a0cb2ffcdcc92c45aa0b44df73fa /app-shells/bash-completion
parentMigrate to upstream build system and directory structure wrt #472938 (diff)
downloadgentoo-2-6298b8feac891cfba74fedd1ae0ded138822b0c6.tar.gz
gentoo-2-6298b8feac891cfba74fedd1ae0ded138822b0c6.tar.bz2
gentoo-2-6298b8feac891cfba74fedd1ae0ded138822b0c6.zip
Post installation message about non-login shells wrt #472938#c4 by Alexander Tsoy
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'app-shells/bash-completion')
-rw-r--r--app-shells/bash-completion/ChangeLog7
-rw-r--r--app-shells/bash-completion/bash-completion-2.1-r1.ebuild8
2 files changed, 13 insertions, 2 deletions
diff --git a/app-shells/bash-completion/ChangeLog b/app-shells/bash-completion/ChangeLog
index afa378585d58..903c78e24db2 100644
--- a/app-shells/bash-completion/ChangeLog
+++ b/app-shells/bash-completion/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-shells/bash-completion
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v 1.252 2013/07/16 00:13:33 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v 1.253 2013/07/16 00:51:20 ssuominen Exp $
+
+ 16 Jul 2013; Samuli Suominen <ssuominen@gentoo.org>
+ bash-completion-2.1-r1.ebuild:
+ Post installation message about non-login shells wrt #472938#c4 by Alexander
+ Tsoy
*bash-completion-2.1-r1 (16 Jul 2013)
diff --git a/app-shells/bash-completion/bash-completion-2.1-r1.ebuild b/app-shells/bash-completion/bash-completion-2.1-r1.ebuild
index 2bf6a2b7e776..5115ed2c20bf 100644
--- a/app-shells/bash-completion/bash-completion-2.1-r1.ebuild
+++ b/app-shells/bash-completion/bash-completion-2.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-2.1-r1.ebuild,v 1.1 2013/07/16 00:13:33 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-2.1-r1.ebuild,v 1.2 2013/07/16 00:51:20 ssuominen Exp $
EAPI=5
@@ -37,7 +37,13 @@ src_install() {
}
pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ elog "If you use non-login shells you still need to source"
+ elog "/usr/share/bash-completion/bash_completion in your ~/.bashrc."
+ fi
+
if has_version 'app-shells/zsh'; then
+ elog
elog "If you are interested in using the provided bash completion functions with"
elog "zsh, valuable tips on the effective use of bashcompinit are available:"
elog " http://www.zsh.org/mla/workers/2003/msg00046.html"