Mise à jour de 'installRust.sh'

This commit is contained in:
Anri 2021-11-14 22:07:00 +01:00
parent 56016df299
commit c4dcc6ae57

View file

@ -1,4 +1,4 @@
which curl &> /dev/null || sudo apt update && sudo apt install curl -y # Install curl if not already installed
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