mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-17 20:11:17 +00:00
Update vaultwarden-v5.sh
fix for older installs
This commit is contained in:
parent
83252cbfa3
commit
5765b0c800
@ -376,7 +376,12 @@ msg_ok "$WVRELEASE Update Successful"
|
||||
exit;
|
||||
fi
|
||||
if [ "$UPD" == "3" ]; then
|
||||
cat /opt/vaultwarden/.env | grep "ADMIN_TOKEN"
|
||||
DIR=/usr/bin/vaultwarden
|
||||
if [ -d "$DIR" ]; then
|
||||
cat /usr/bin/vaultwarden/.env | grep "ADMIN_TOKEN"
|
||||
else
|
||||
cat /opt/vaultwarden/.env | grep "ADMIN_TOKEN"
|
||||
fi
|
||||
exit
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user