fix rust installation

fix rust installation

fix rust installation
This commit is contained in:
Alexander Navarro 2024-05-21 18:09:41 -04:00
parent 36522abd57
commit 2b55b7cb69

View file

@ -34,10 +34,7 @@ echo -e "${C_DODGERBLUE1}Installing packages...${NO_FORMAT}"
# │ Install Rust │ # │ Install Rust │
# ╰──────────────────────────────────────────────────────────╯ # ╰──────────────────────────────────────────────────────────╯
if ! command -v cargo > /dev/null; then curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain stable
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain stable
export PATH="$PATH:$HOME/.cargo/bin/"
fi
rustup update rustup update