Update vaultwarden-v5.sh

remove update redirects
This commit is contained in:
tteckster 2023-01-03 07:15:12 -05:00 committed by GitHub
parent a0f9a1c20d
commit cdf10a1c95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -330,9 +330,9 @@ systemctl stop vaultwarden.service
msg_ok "Stopped Vaultwarden" msg_ok "Stopped Vaultwarden"
msg_info "Updating VaultWarden to $VAULT (Patience)" msg_info "Updating VaultWarden to $VAULT (Patience)"
git clone https://github.com/dani-garcia/vaultwarden &>/dev/null git clone https://github.com/dani-garcia/vaultwarden
cd vaultwarden cd vaultwarden
cargo build --features "sqlite,mysql,postgresql" --release &>/dev/null cargo build --features "sqlite,mysql,postgresql" --release
DIR=/usr/bin/vaultwarden DIR=/usr/bin/vaultwarden
if [ -d "$DIR" ]; then if [ -d "$DIR" ]; then
cp target/release/vaultwarden /usr/bin/ cp target/release/vaultwarden /usr/bin/