Mise à jour de 'installRust.sh'
This commit is contained in:
parent
0ad78fd38e
commit
84dda8c9fd
1 changed files with 1 additions and 2 deletions
|
@ -1,8 +1,7 @@
|
|||
which curl &> /dev/null || ( sudo apt update; sudo apt install curl -y ) # Install curl if not already installed
|
||||
|
||||
# Install rust
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
source $HOME/.cargo/env
|
||||
curl https://sh.rustup.rs -sSf | ( sh -s -- -y; source $HOME/.cargo/env )
|
||||
# If fish is used, adding cargo to path
|
||||
if [ -x $HOME/.config/fish ] ; then
|
||||
fish -c 'set -Up fish_user_paths ~/.cargo/bin'
|
||||
|
|
Reference in a new issue