use new cargo's switch to install or update packages when present
This commit is contained in:
parent
1a91fddeb4
commit
eb3f5d3565
1 changed files with 2 additions and 6 deletions
|
@ -89,12 +89,8 @@ else
|
|||
git pull
|
||||
fi
|
||||
|
||||
set +e
|
||||
cargo uninstall rustfmt
|
||||
cargo uninstall racer
|
||||
set -e
|
||||
cargo install rustfmt
|
||||
cargo install racer
|
||||
cargo install -f rustfmt
|
||||
cargo install -f racer
|
||||
|
||||
# go
|
||||
export GOPATH="$HOME/go"
|
||||
|
|
Loading…
Reference in a new issue