summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Joliet <marcec@gmx.de>2015-11-30 12:47:06 +0100
committerMarc Joliet <marcec@gmx.de>2015-12-04 22:00:21 +0100
commit0228f34fa3df87fa286d64d44bff60787c1cd750 (patch)
tree90c6f8bb17b3d22dbe6212400db403deacdfc808 /app-shells/autojump/autojump-22.2.4-r4.ebuild
parentapp-shells/autojump-22.2.4-r4: rm bundled argparse (diff)
downloadgentoo-0228f34fa3df87fa286d64d44bff60787c1cd750.tar.gz
gentoo-0228f34fa3df87fa286d64d44bff60787c1cd750.tar.bz2
gentoo-0228f34fa3df87fa286d64d44bff60787c1cd750.zip
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@gmx.de>
Diffstat (limited to 'app-shells/autojump/autojump-22.2.4-r4.ebuild')
-rw-r--r--app-shells/autojump/autojump-22.2.4-r4.ebuild8
1 files 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 af56c093c198..6c967ce1d362 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'