simplified rust install command

This commit is contained in:
Václav Šmejkal 2024-01-23 21:50:35 +01:00
parent d06f79dd12
commit edba888b47
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -51,7 +51,7 @@ $COMMAND
# Install Rust
if ! [ -x "$(command -v cargo)" ]; then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y # Install Rust and components
curl https://sh.rustup.rs -sSf | sh -s -- -y # Install Rust and components
source "$HOME/.cargo/env"
fi