build-style/cargo.sh: also delete /usr/.crates2.json

This commit is contained in:
Alexander Gehrke 2020-02-25 10:48:44 +01:00 committed by Juan RP
parent c2b89d6bff
commit a28a777a95
1 changed files with 2 additions and 1 deletions

View File

@ -19,5 +19,6 @@ do_install() {
${make_cmd} install --path . --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
--locked ${configure_args} ${make_install_args}
rm "${DESTDIR}"/usr/.crates.toml
rm -f "${DESTDIR}"/usr/.crates.toml
rm -f "${DESTDIR}"/usr/.crates2.json
}