only install rust crates if they are not there yet
This commit is contained in:
parent
a49f982bf0
commit
dfb132b901
1 changed files with 5 additions and 1 deletions
|
@ -129,7 +129,11 @@ if [[ -z $NORUST ]]; then
|
|||
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
|
||||
|
||||
cargo install cargo-update rustsym ripgrep fd-find genpass
|
||||
(test -x "${HOME}/.cargo/bin/cargo-install-update" || cargo install cargo-update)
|
||||
(test -x "${HOME}/.cargo/bin/rg" || cargo install ripgrep)
|
||||
(test -x "${HOME}/.cargo/bin/fd" || cargo install fd-find)
|
||||
(test -x "${HOME}/.cargo/bin/genpass" || cargo install genpass)
|
||||
|
||||
set +e
|
||||
cargo install-update -a
|
||||
set -e
|
||||
|
|
Loading…
Reference in a new issue