app-shells/autojump-22.2.4-r4: convert einfo to elog
authorMarc Joliet <marcec@gmx.de>
Mon, 30 Nov 2015 11:47:06 +0000 (12:47 +0100)
committerMarc Joliet <marcec@gmx.de>
Fri, 4 Dec 2015 21:00:21 +0000 (22:00 +0100)
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@gmx.de>
app-shells/autojump/autojump-22.2.4-r4.ebuild

index af56c093c198cb87df91de50fb214a312080ba69..6c967ce1d3628bcacd6eb63b16b5a32295d492a1 100644 (file)
@@ -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'