mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
dev-lang/rust: fix path to bash completion of cargo
Since Rust 1.71.0, /etc/bash_completion.d/cargo is installed under src, so it is necessary to adjust the file path to remove.
This commit is contained in:
parent
eba8917982
commit
80f124a620
@ -663,8 +663,8 @@ src_install() {
|
||||
DESTDIR="${D}" "${EPYTHON}" ./x.py install -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die
|
||||
|
||||
# bug #689562, #689160
|
||||
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
|
||||
rm -v "${ED}/usr/lib/${PN}/${PV}/src/etc/bash_completion.d/cargo" || die
|
||||
rmdir -v "${ED}/usr/lib/${PN}/${PV}"/src/etc{/bash_completion.d,} || die
|
||||
newbashcomp src/tools/cargo/src/etc/cargo.bashcomp.sh cargo
|
||||
|
||||
local symlinks=(
|
||||
|
Loading…
x
Reference in New Issue
Block a user