From f8cf049e08cd1852fe536a1dceb71175a958ac0a Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 3 Feb 2022 18:55:49 -0500 Subject: [PATCH] Update vault_setup.sh --- setup/vault_setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/vault_setup.sh b/setup/vault_setup.sh index b3f153b3..16e93585 100644 --- a/setup/vault_setup.sh +++ b/setup/vault_setup.sh @@ -62,7 +62,7 @@ apt-get -qqy install \ build-essential &>/dev/null echo -e "${CHECKMARK} \e[1;92m Installing Rust... \e[0m" -curl https://sh.rustup.rs -sSf | sh &>/dev/null +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s &>/dev/null echo 'export PATH=~/.cargo/bin:$PATH' >> ~/.bashrc &>/dev/null export PATH=~/.cargo/bin:$PATH &>/dev/null which rustc &>/dev/null @@ -142,4 +142,4 @@ systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') systemctl enable vaultwarden.service &>/dev/null systemctl start vaultwarden.service &>/dev/null echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m" -rm -rf /vault_setup.sh /var/{cache,log}/* /var/lib/apt/lists/* \ No newline at end of file +rm -rf /vault_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*