From 2b55b7cb69ffad4d7873f8b4f29e1d0b156c020b Mon Sep 17 00:00:00 2001 From: aleidk Date: Tue, 21 May 2024 18:09:41 -0400 Subject: [PATCH] fix rust installation fix rust installation fix rust installation --- chezmoi/.chezmoiscripts/run_onchange_bootstrap.tmpl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/chezmoi/.chezmoiscripts/run_onchange_bootstrap.tmpl b/chezmoi/.chezmoiscripts/run_onchange_bootstrap.tmpl index 79d6991..df9d632 100644 --- a/chezmoi/.chezmoiscripts/run_onchange_bootstrap.tmpl +++ b/chezmoi/.chezmoiscripts/run_onchange_bootstrap.tmpl @@ -34,10 +34,7 @@ echo -e "${C_DODGERBLUE1}Installing packages...${NO_FORMAT}" # │ 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 - export PATH="$PATH:$HOME/.cargo/bin/" -fi +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain stable rustup update