commit:     0228f34fa3df87fa286d64d44bff60787c1cd750
Author:     Marc Joliet <marcec <AT> gmx <DOT> de>
AuthorDate: Mon Nov 30 11:47:06 2015 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Dec  4 21:00:21 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0228f34f

app-shells/autojump-22.2.4-r4: convert einfo to elog

Convert the einfo message in src_install() to an elog message in
pkg_postinst(), which is a more fitting place for such a message.

Signed-off-by: Marc Joliet <marcec <AT> gmx.de>

 app-shells/autojump/autojump-22.2.4-r4.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/app-shells/autojump/autojump-22.2.4-r4.ebuild 
b/app-shells/autojump/autojump-22.2.4-r4.ebuild
index af56c09..6c967ce 100644
--- a/app-shells/autojump/autojump-22.2.4-r4.ebuild
+++ b/app-shells/autojump/autojump-22.2.4-r4.ebuild
@@ -58,8 +58,6 @@ src_install() {
        python_foreach_impl python_domodule bin/autojump_data.py 
bin/autojump_utils.py
        if use python; then
                python_foreach_impl python_domodule tools/autojump_ipython.py
-               einfo 'This tool provides "j" for ipython, please add'
-               einfo '"import autojump_ipython" to your ipy_user_conf.py.'
        fi
 
        doman docs/"${PN}.1"
@@ -67,6 +65,12 @@ src_install() {
 }
 
 pkg_postinst() {
+       if use python; then
+               elog 'This tool provides "j" for ipython, please add'
+               elog '"import autojump_ipython" to your ipy_user_conf.py.'
+               elog
+       fi
+
        elog 'If you use app-shells/fish, add the following code to your'
        elog 'config.fish to get autojump support:'
        elog 'if test -f /usr/share/autojump/autojump.fish'

Reply via email to