1 |
commit: b1a398ee3ee3cfc711b0bd97db23b5a8ebc8007e |
2 |
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Oct 8 15:26:58 2020 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 9 19:57:52 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1a398ee |
7 |
|
8 |
app-misc/todo: clean up aliases. |
9 |
|
10 |
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/17863 |
12 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
13 |
|
14 |
app-misc/todo/{todo-2.12.0.ebuild => todo-2.12.0-r1.ebuild} | 8 +++++--- |
15 |
1 file changed, 5 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/app-misc/todo/todo-2.12.0.ebuild b/app-misc/todo/todo-2.12.0-r1.ebuild |
18 |
similarity index 87% |
19 |
rename from app-misc/todo/todo-2.12.0.ebuild |
20 |
rename to app-misc/todo/todo-2.12.0-r1.ebuild |
21 |
index d1dcad07e58..623c419ac0a 100644 |
22 |
--- a/app-misc/todo/todo-2.12.0.ebuild |
23 |
+++ b/app-misc/todo/todo-2.12.0-r1.ebuild |
24 |
@@ -38,10 +38,7 @@ src_test() { |
25 |
|
26 |
src_install() { |
27 |
dobin "${PN}.sh" |
28 |
- dosym "${PN}.sh" "/usr/bin/${PN}cli" |
29 |
- dosym "${PN}.sh" "/usr/bin/${PN}txt" |
30 |
newbashcomp "${PN}_completion" "${PN}.sh" |
31 |
- bashcomp_alias "${PN}.sh" "${PN}cli" "${PN}txt" |
32 |
einstalldocs |
33 |
} |
34 |
|
35 |
@@ -63,4 +60,9 @@ pkg_postinst() { |
36 |
einfo 'You can then edit this file as you see fit.' |
37 |
einfo 'Enjoy!' |
38 |
einfo |
39 |
+ ewarn 'The Gentoo-specific todocli and todotxt aliases have been removed.' |
40 |
+ ewarn 'If you still need them, add the following lines to your ~/.bashrc:' |
41 |
+ ewarn |
42 |
+ ewarn 'alias todocli=todo.sh' |
43 |
+ ewarn 'complete -F _todo todocli' |
44 |
} |