Update vaultwarden-v5.sh

fix for older installs
This commit is contained in:
tteckster 2023-01-05 13:05:10 -05:00 committed by GitHub
parent b49f5370f3
commit 1c778f2c2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,7 @@ if command -v pveversion >/dev/null 2>&1; then
fi fi
fi fi
if ! command -v pveversion >/dev/null 2>&1; then if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /opt/vaultwarden ]]; then if [[ ! -f /etc/systemd/system/vaultwarden.service ]]; then
msg_error "No ${APP} Installation Found!"; msg_error "No ${APP} Installation Found!";
exit exit
fi fi