From 4c57876b49b9357f4a99128dbadd9d104865828e Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 3 Feb 2022 19:12:16 -0500 Subject: [PATCH] Update vault_setup.sh --- setup/vault_setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/vault_setup.sh b/setup/vault_setup.sh index 16e93585..0d47041f 100644 --- a/setup/vault_setup.sh +++ b/setup/vault_setup.sh @@ -62,7 +62,8 @@ apt-get -qqy install \ build-essential &>/dev/null echo -e "${CHECKMARK} \e[1;92m Installing Rust... \e[0m" -curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s &>/dev/null +apt-get update &>/dev/null +curl -sSf https://sh.rustup.rs | sh -y &>/dev/null echo 'export PATH=~/.cargo/bin:$PATH' >> ~/.bashrc &>/dev/null export PATH=~/.cargo/bin:$PATH &>/dev/null which rustc &>/dev/null