Update alpine-adguard-v5.sh

Tweak
This commit is contained in:
tteckster 2023-03-18 20:34:33 -04:00 committed by GitHub
parent 268a36a871
commit cde33cf00e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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