build-style/cargo.sh: also delete /usr/.crates2.json
This commit is contained in:
parent
c2b89d6bff
commit
a28a777a95
1 changed files with 2 additions and 1 deletions
|
@ -19,5 +19,6 @@ do_install() {
|
||||||
|
|
||||||
${make_cmd} install --path . --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
|
${make_cmd} install --path . --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
|
||||||
--locked ${configure_args} ${make_install_args}
|
--locked ${configure_args} ${make_install_args}
|
||||||
rm "${DESTDIR}"/usr/.crates.toml
|
rm -f "${DESTDIR}"/usr/.crates.toml
|
||||||
|
rm -f "${DESTDIR}"/usr/.crates2.json
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue