commit:     4971d9452de54f00a83d5a484b1b7713a2b76cba
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 20 22:51:36 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 20 22:55:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4971d945

dev-lang/rust: explain bash-completion rm

This came up in the context of bug #964416 where someone was confused
as to its purpose, so explain it.

Bug: https://bugs.gentoo.org/689562
Bug: https://bugs.gentoo.org/689160
Bug: https://bugs.gentoo.org/964416
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/rust/rust-9999.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-lang/rust/rust-9999.ebuild b/dev-lang/rust/rust-9999.ebuild
index a4cb917d4933..2785c6a986c3 100644
--- a/dev-lang/rust/rust-9999.ebuild
+++ b/dev-lang/rust/rust-9999.ebuild
@@ -732,7 +732,8 @@ src_install() {
 
        docompress /usr/lib/${PN}/${SLOT}/share/man/
 
-       # bug #689562, #689160
+       # bash-completion files are installed by dev-lang/rust-common instead
+       # bug #689562, #689160.
        rm -v "${ED}/usr/lib/${PN}/${SLOT}/etc/bash_completion.d/cargo" || die
        rmdir -v "${ED}/usr/lib/${PN}/${SLOT}"/etc{/bash_completion.d,} || die
 

Reply via email to