mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-24 22:11:56 +00:00
Update vaultwarden-v5.sh
remove update redirects
This commit is contained in:
parent
a0f9a1c20d
commit
cdf10a1c95
@ -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/
|
||||||
|
Loading…
Reference in New Issue
Block a user