From 4971d9452de54f00a83d5a484b1b7713a2b76cba Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 20 Oct 2025 23:51:36 +0100 Subject: [PATCH] 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 --- 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 a4cb917d4933c..2785c6a986c38 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