Skip to content

Commit

Permalink
cargo.eclass: Delete /usr/.crates2.json in cargo_src_install
Browse files Browse the repository at this point in the history
Signed-off-by: Valentin Finini <[email protected]>
Closes: gentoo#14231
Signed-off-by: Georgy Yakovlev <[email protected]>
  • Loading branch information
Valentin Finini authored and gyakovlev committed Jan 4, 2020
1 parent cc48798 commit 371398b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eclass/cargo.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ cargo_src_install() {
--root="${ED}/usr" $(usex debug --debug "") "$@" \
|| die "cargo install failed"
rm -f "${ED}/usr/.crates.toml"
rm -f "${ED}/usr/.crates2.json"

[ -d "${S}/man" ] && doman "${S}/man" || return 0
}
Expand Down

0 comments on commit 371398b

Please sign in to comment.