Update vault_setup.sh

pull/26/head
tteckster 2022-02-03 18:55:49 -05:00 committed by GitHub
parent 35f3913b91
commit f8cf049e08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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/*
rm -rf /vault_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*