1 |
commit: 0228f34fa3df87fa286d64d44bff60787c1cd750 |
2 |
Author: Marc Joliet <marcec <AT> gmx <DOT> de> |
3 |
AuthorDate: Mon Nov 30 11:47:06 2015 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 4 21:00:21 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0228f34f |
7 |
|
8 |
app-shells/autojump-22.2.4-r4: convert einfo to elog |
9 |
|
10 |
Convert the einfo message in src_install() to an elog message in |
11 |
pkg_postinst(), which is a more fitting place for such a message. |
12 |
|
13 |
Signed-off-by: Marc Joliet <marcec <AT> gmx.de> |
14 |
|
15 |
app-shells/autojump/autojump-22.2.4-r4.ebuild | 8 ++++++-- |
16 |
1 file changed, 6 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/app-shells/autojump/autojump-22.2.4-r4.ebuild b/app-shells/autojump/autojump-22.2.4-r4.ebuild |
19 |
index af56c09..6c967ce 100644 |
20 |
--- a/app-shells/autojump/autojump-22.2.4-r4.ebuild |
21 |
+++ b/app-shells/autojump/autojump-22.2.4-r4.ebuild |
22 |
@@ -58,8 +58,6 @@ src_install() { |
23 |
python_foreach_impl python_domodule bin/autojump_data.py bin/autojump_utils.py |
24 |
if use python; then |
25 |
python_foreach_impl python_domodule tools/autojump_ipython.py |
26 |
- einfo 'This tool provides "j" for ipython, please add' |
27 |
- einfo '"import autojump_ipython" to your ipy_user_conf.py.' |
28 |
fi |
29 |
|
30 |
doman docs/"${PN}.1" |
31 |
@@ -67,6 +65,12 @@ src_install() { |
32 |
} |
33 |
|
34 |
pkg_postinst() { |
35 |
+ if use python; then |
36 |
+ elog 'This tool provides "j" for ipython, please add' |
37 |
+ elog '"import autojump_ipython" to your ipy_user_conf.py.' |
38 |
+ elog |
39 |
+ fi |
40 |
+ |
41 |
elog 'If you use app-shells/fish, add the following code to your' |
42 |
elog 'config.fish to get autojump support:' |
43 |
elog 'if test -f /usr/share/autojump/autojump.fish' |