build-style/cargo.sh: don't use post_install() for leftover removal
This commit is contained in:
parent
80c5bd80d5
commit
ef4596b546
1 changed files with 0 additions and 2 deletions
|
@ -20,9 +20,7 @@ do_install() {
|
||||||
|
|
||||||
${make_cmd} install --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
|
${make_cmd} install --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
|
||||||
--locked ${configure_args} ${make_install_args}
|
--locked ${configure_args} ${make_install_args}
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
rm -f "${DESTDIR}"/usr/.crates.toml
|
rm -f "${DESTDIR}"/usr/.crates.toml
|
||||||
rm -f "${DESTDIR}"/usr/.crates2.json
|
rm -f "${DESTDIR}"/usr/.crates2.json
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue