build-style/cargo.sh: also delete /usr/.crates2.json
This commit is contained in:
committed by
Juan RP
parent
c2b89d6bff
commit
a28a777a95
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user