mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-08 18:27:07 -08:00
dev-lang/rust: use ED in removal operations.
This does not affect non-prefix systems and the prefix systems fail to install before this commit. Therefore, no revision is is required. Bug: https://bugs.gentoo.org/689562 Bug: https://bugs.gentoo.org/689160 Package-Manager: Portage-3.0.12, Repoman-3.0.1 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
This commit is contained in:
@@ -510,8 +510,8 @@ src_install() {
|
||||
)
|
||||
|
||||
# bug #689562, #689160
|
||||
rm -v "${D}/usr/lib/${PN}/${PV}/etc/bash_completion.d/cargo" || die
|
||||
rmdir -v "${D}/usr/lib/${PN}/${PV}"/etc{/bash_completion.d,} || die
|
||||
rm -v "${ED}/usr/lib/${PN}/${PV}/etc/bash_completion.d/cargo" || die
|
||||
rmdir -v "${ED}/usr/lib/${PN}/${PV}"/etc{/bash_completion.d,} || die
|
||||
dobashcomp build/tmp/dist/cargo-image/etc/bash_completion.d/cargo
|
||||
|
||||
local symlinks=(
|
||||
|
||||
Reference in New Issue
Block a user