Update alpine-vaultwarden-v5.sh

Tweak
This commit is contained in:
tteckster 2023-03-18 20:28:21 -04:00 committed by GitHub
parent 54259a84c1
commit ec8fe39712
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -404,13 +404,12 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/conf.d/vaultwarden ]]; then
msg_error "No ${APP} Installation Found!"
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ -f /etc/conf.d/vaultwarden ]]; then
update_script
fi
if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -f /etc/conf.d/vaultwarden ]]; then
msg_error "No ${APP} Installation Found!"
else
update_script
fi
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then