Update vaultwarden-v5.sh
revert "remove update redirects"
This commit is contained in:
parent
7f910107d3
commit
8c9b48f15c
1 changed files with 2 additions and 2 deletions
|
@ -331,9 +331,9 @@ msg_ok "Stopped Vaultwarden"
|
||||||
|
|
||||||
msg_info "Updating VaultWarden to $VAULT (Patience)"
|
msg_info "Updating VaultWarden to $VAULT (Patience)"
|
||||||
cd ~ && rm -rf vaultwarden
|
cd ~ && rm -rf vaultwarden
|
||||||
git clone https://github.com/dani-garcia/vaultwarden
|
git clone https://github.com/dani-garcia/vaultwarden &>/dev/null
|
||||||
cd vaultwarden
|
cd vaultwarden
|
||||||
cargo build --features "sqlite,mysql,postgresql" --release
|
cargo build --features "sqlite,mysql,postgresql" --release &>/dev/null
|
||||||
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/
|
||||||
|
|
Loading…
Reference in a new issue