From ef4596b546ed5771ad24c00947421710b2034b06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ey=C3=9Fer?= Date: Sun, 12 Apr 2020 17:47:38 +0200 Subject: [PATCH] build-style/cargo.sh: don't use post_install() for leftover removal --- common/build-style/cargo.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/build-style/cargo.sh b/common/build-style/cargo.sh index 3be4791bf71..eeeb2c7226b 100644 --- a/common/build-style/cargo.sh +++ b/common/build-style/cargo.sh @@ -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 }