This commit is contained in:
tteckster 2023-02-12 04:28:16 -05:00 committed by GitHub
parent 750fdb6fc3
commit 86b428fe34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
81 changed files with 74 additions and 122 deletions

View File

@ -332,11 +332,6 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if ! command -v pveversion >/dev/null 2>&1; then
if ! (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
clear

View File

@ -336,11 +336,6 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if ! command -v pveversion >/dev/null 2>&1; then
if ! (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
clear

View File

@ -335,11 +335,6 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if ! command -v pveversion >/dev/null 2>&1; then
if ! (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
clear

View File

@ -346,7 +346,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /root/.config/autobrr/config.toml ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -336,7 +336,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/blocky ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -344,7 +344,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /etc/docker ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

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

View File

@ -337,10 +337,6 @@ msg_ok "Updated ${APP}"
exit
fi
if [ "$UPD" == "2" ]; then
if [[ -d /opt/cronicle ]]; then
msg_error "${APP} Installation Found!";
exit
fi
LATEST=$(curl -sL https://api.github.com/repos/jhuckaby/Cronicle/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
IP=$(hostname -I | awk '{print $1}')
msg_info "Installing Dependencies"
@ -385,11 +381,6 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if ! command -v pveversion >/dev/null 2>&1; then
if ! (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
clear

View File

@ -336,7 +336,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /etc/daemonsync ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

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

View File

@ -335,11 +335,6 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if ! command -v pveversion >/dev/null 2>&1; then
if ! (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
clear

View File

@ -337,7 +337,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/apt/sources.list.d/deconz.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -322,7 +322,7 @@ function update_script() {
header_info
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
pip3 install deluge[all] --upgrade
msg_ok "Updated $APP LXC"
exit
}
@ -336,7 +336,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/systemd/system/deluged.service ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -335,11 +335,6 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if ! command -v pveversion >/dev/null 2>&1; then
if ! (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
clear

View File

@ -343,11 +343,6 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if ! command -v pveversion >/dev/null 2>&1; then
if ! (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
clear

View File

@ -354,7 +354,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/emby-server ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -335,11 +335,6 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if ! command -v pveversion >/dev/null 2>&1; then
if ! (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
clear

View File

@ -342,7 +342,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /usr/local/bin/esphome ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -336,7 +336,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/apt/sources.list.d/grafana.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -335,7 +335,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/apache2/sites-available/grocy.conf ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -415,7 +415,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/Heimdall ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -410,7 +410,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /srv/homeassistant ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -409,7 +409,8 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /var/lib/docker/volumes/hass_config/_data
]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

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

View File

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

View File

@ -359,7 +359,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/homer ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -336,7 +336,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/apt/sources.list.d/hyperion.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -336,7 +336,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/apt/sources.list.d/influxdb.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -336,7 +336,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/iobroker ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -345,7 +345,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /usr/lib/jellyfin ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -336,7 +336,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/k0s/k0s.yaml ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -335,7 +335,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/Kavita ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

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

View File

@ -335,7 +335,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /var/lib/lidarr/ ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -338,7 +338,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/magicmirror ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -336,7 +336,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/apt/sources.list.d/mariadb.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -336,7 +336,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/meshcentral ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

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

View File

@ -336,7 +336,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/apt/sources.list.d/mosquitto-bullseye.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

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

View File

@ -346,7 +346,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/navidrome ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

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

View File

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

View File

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

View File

@ -370,7 +370,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /root/.node-red ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -346,7 +346,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/tplink ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -337,7 +337,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/apt/sources.list.d/openmediavault.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -337,7 +337,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/apt/sources.list.d/openhab.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -403,7 +403,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/paperless ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -358,7 +358,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/photoprism ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -336,7 +336,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /etc/pihole ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -355,7 +355,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/apt/sources.list.d/plexmediaserver.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

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

View File

@ -336,7 +336,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/containers/registries.conf ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -336,7 +336,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/apt/sources.list.d/pgdg.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

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

View File

@ -335,7 +335,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /var/lib/prowlarr/ ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -335,7 +335,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /var/lib/radarr/ ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -335,7 +335,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /var/lib/readarr/ ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -336,7 +336,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /etc/pacman.d ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -335,7 +335,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/sabnzbd ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

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

View File

@ -346,7 +346,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/Shinobi ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -335,7 +335,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/apt/sources.list.d/sonarr.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -337,7 +337,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/apt/sources.list.d/syncthing.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -335,7 +335,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/tdarr ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -398,7 +398,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /etc/dns ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -335,7 +335,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/transmission-daemon/settings.json ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -355,7 +355,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d ! -d /opt/trilium ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -343,11 +343,6 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if ! command -v pveversion >/dev/null 2>&1; then
if ! (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
clear

View File

@ -343,7 +343,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /root/umbrel ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -336,7 +336,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /usr/lib/unifi ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -353,7 +353,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/uptime-kuma ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

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

View File

@ -336,7 +336,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /var/lib/whisparr ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -335,7 +335,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /usr/local/bin/whoogle-search ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -349,7 +349,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/wikijs ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -390,7 +390,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /etc/pivpn/wireguard ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -335,7 +335,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/apt/trusted.gpg.d/php.gpg ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -382,7 +382,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/zigbee2mqtt ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@ -349,7 +349,7 @@ if command -v pveversion >/dev/null 2>&1; then
install_script
fi
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/AdGuardHome ]]; then
if ! command -v pveversion >/dev/null 2>&1 && [[ ! -d /opt/zwave-js-ui ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi