Merge pull request #6 from cyplo/cargo_force_update
use new cargo's switch to install or update packages when present
This commit is contained in:
commit
0a0aed2b31
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