added source command to rust installation

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

View File

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