build-style/cargo.sh: don't use post_install() for leftover removal
This commit is contained in:
parent
80c5bd80d5
commit
ef4596b546
|
@ -20,9 +20,7 @@ do_install() {
|
|||
|
||||
${make_cmd} install --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
|
||||
--locked ${configure_args} ${make_install_args}
|
||||
}
|
||||
|
||||
post_install() {
|
||||
rm -f "${DESTDIR}"/usr/.crates.toml
|
||||
rm -f "${DESTDIR}"/usr/.crates2.json
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue