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@gentoo.org>
This commit is contained in:
Sam James
2025-10-20 23:55:01 +01:00
parent 35b12d1396
commit 4971d9452d
+2 -1
View File
@@ -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