commit:     b1a398ee3ee3cfc711b0bd97db23b5a8ebc8007e
Author:     Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Thu Oct  8 15:26:58 2020 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Oct  9 19:57:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1a398ee

app-misc/todo: clean up aliases.

Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17863
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 app-misc/todo/{todo-2.12.0.ebuild => todo-2.12.0-r1.ebuild} | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/app-misc/todo/todo-2.12.0.ebuild 
b/app-misc/todo/todo-2.12.0-r1.ebuild
similarity index 87%
rename from app-misc/todo/todo-2.12.0.ebuild
rename to app-misc/todo/todo-2.12.0-r1.ebuild
index d1dcad07e58..623c419ac0a 100644
--- a/app-misc/todo/todo-2.12.0.ebuild
+++ b/app-misc/todo/todo-2.12.0-r1.ebuild
@@ -38,10 +38,7 @@ src_test() {
 
 src_install() {
        dobin "${PN}.sh"
-       dosym "${PN}.sh" "/usr/bin/${PN}cli"
-       dosym "${PN}.sh" "/usr/bin/${PN}txt"
        newbashcomp "${PN}_completion" "${PN}.sh"
-       bashcomp_alias "${PN}.sh" "${PN}cli" "${PN}txt"
        einstalldocs
 }
 
@@ -63,4 +60,9 @@ pkg_postinst() {
        einfo 'You can then edit this file as you see fit.'
        einfo 'Enjoy!'
        einfo
+       ewarn 'The Gentoo-specific todocli and todotxt aliases have been 
removed.'
+       ewarn 'If you still need them, add the following lines to your 
~/.bashrc:'
+       ewarn
+       ewarn 'alias todocli=todo.sh'
+       ewarn 'complete -F _todo todocli'
 }

Reply via email to