fix rust installation
fix rust installation fix rust installation
This commit is contained in:
parent
36522abd57
commit
2b55b7cb69
1 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue