diff --git a/ct/alpine-v5.sh b/ct/alpine-v5.sh index 79dcf36b..f952238b 100644 --- a/ct/alpine-v5.sh +++ b/ct/alpine-v5.sh @@ -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 diff --git a/ct/archlinux-v5.sh b/ct/archlinux-v5.sh index 15a3a658..6b591903 100644 --- a/ct/archlinux-v5.sh +++ b/ct/archlinux-v5.sh @@ -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 diff --git a/ct/audiobookshelf-v5.sh b/ct/audiobookshelf-v5.sh index b7edffe4..c51913fb 100644 --- a/ct/audiobookshelf-v5.sh +++ b/ct/audiobookshelf-v5.sh @@ -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 diff --git a/ct/autobrr-v5.sh b/ct/autobrr-v5.sh index a12960c7..38fec992 100644 --- a/ct/autobrr-v5.sh +++ b/ct/autobrr-v5.sh @@ -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 diff --git a/ct/blocky-v5.sh b/ct/blocky-v5.sh index 522d3967..e80f0bef 100644 --- a/ct/blocky-v5.sh +++ b/ct/blocky-v5.sh @@ -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 diff --git a/ct/casaos-v5.sh b/ct/casaos-v5.sh index 656ccf0a..816b3d4d 100644 --- a/ct/casaos-v5.sh +++ b/ct/casaos-v5.sh @@ -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 diff --git a/ct/changedetection-v5.sh b/ct/changedetection-v5.sh index 1e4b137d..bd48f991 100644 --- a/ct/changedetection-v5.sh +++ b/ct/changedetection-v5.sh @@ -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 diff --git a/ct/cronicle-v5.sh b/ct/cronicle-v5.sh index 8314559c..fdb8d7cb 100644 --- a/ct/cronicle-v5.sh +++ b/ct/cronicle-v5.sh @@ -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 diff --git a/ct/daemonsync-v5.sh b/ct/daemonsync-v5.sh index 7999206b..ce5788d6 100644 --- a/ct/daemonsync-v5.sh +++ b/ct/daemonsync-v5.sh @@ -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 diff --git a/ct/dashy-v5.sh b/ct/dashy-v5.sh index 143f2728..47dd2d44 100644 --- a/ct/dashy-v5.sh +++ b/ct/dashy-v5.sh @@ -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 diff --git a/ct/debian-v5.sh b/ct/debian-v5.sh index 7a832b91..1714ade0 100644 --- a/ct/debian-v5.sh +++ b/ct/debian-v5.sh @@ -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 diff --git a/ct/deconz-v5.sh b/ct/deconz-v5.sh index 8b28664e..298088c4 100644 --- a/ct/deconz-v5.sh +++ b/ct/deconz-v5.sh @@ -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 diff --git a/ct/deluge-v5.sh b/ct/deluge-v5.sh index f69429a6..d0ffb9c0 100644 --- a/ct/deluge-v5.sh +++ b/ct/deluge-v5.sh @@ -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 diff --git a/ct/devuan-v5.sh b/ct/devuan-v5.sh index c91c3955..d747badb 100644 --- a/ct/devuan-v5.sh +++ b/ct/devuan-v5.sh @@ -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 diff --git a/ct/docker-v5.sh b/ct/docker-v5.sh index 865b5a5c..ea41ffbd 100644 --- a/ct/docker-v5.sh +++ b/ct/docker-v5.sh @@ -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 diff --git a/ct/emby-v5.sh b/ct/emby-v5.sh index 4d5183df..27ae665b 100644 --- a/ct/emby-v5.sh +++ b/ct/emby-v5.sh @@ -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 diff --git a/ct/emqx-v5.sh b/ct/emqx-v5.sh index f68610c7..4d89dccf 100644 --- a/ct/emqx-v5.sh +++ b/ct/emqx-v5.sh @@ -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 diff --git a/ct/esphome-v5.sh b/ct/esphome-v5.sh index 5e828cdb..aa387138 100644 --- a/ct/esphome-v5.sh +++ b/ct/esphome-v5.sh @@ -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 diff --git a/ct/grafana-v5.sh b/ct/grafana-v5.sh index 5d8a7cff..af380616 100644 --- a/ct/grafana-v5.sh +++ b/ct/grafana-v5.sh @@ -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 diff --git a/ct/grocy-v5.sh b/ct/grocy-v5.sh index f35caabc..4a6a5816 100644 --- a/ct/grocy-v5.sh +++ b/ct/grocy-v5.sh @@ -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 diff --git a/ct/heimdalldashboard-v5.sh b/ct/heimdalldashboard-v5.sh index 0cb6265c..958819e0 100644 --- a/ct/heimdalldashboard-v5.sh +++ b/ct/heimdalldashboard-v5.sh @@ -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 diff --git a/ct/homeassistant-core-v5.sh b/ct/homeassistant-core-v5.sh index 6405d182..90803493 100644 --- a/ct/homeassistant-core-v5.sh +++ b/ct/homeassistant-core-v5.sh @@ -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 diff --git a/ct/homeassistant-v5.sh b/ct/homeassistant-v5.sh index 9ebd4705..933a39ca 100644 --- a/ct/homeassistant-v5.sh +++ b/ct/homeassistant-v5.sh @@ -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 diff --git a/ct/homebridge-v5.sh b/ct/homebridge-v5.sh index 6f63ced1..7685ba3e 100644 --- a/ct/homebridge-v5.sh +++ b/ct/homebridge-v5.sh @@ -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 diff --git a/ct/homepage-v5.sh b/ct/homepage-v5.sh index c60ee9a2..4ed7791a 100644 --- a/ct/homepage-v5.sh +++ b/ct/homepage-v5.sh @@ -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 diff --git a/ct/homer-v5.sh b/ct/homer-v5.sh index 89f1d1df..9511f73e 100644 --- a/ct/homer-v5.sh +++ b/ct/homer-v5.sh @@ -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 diff --git a/ct/hyperion-v5.sh b/ct/hyperion-v5.sh index 629c8023..597ea64a 100644 --- a/ct/hyperion-v5.sh +++ b/ct/hyperion-v5.sh @@ -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 diff --git a/ct/influxdb-v5.sh b/ct/influxdb-v5.sh index 458b363c..62cd4ea4 100644 --- a/ct/influxdb-v5.sh +++ b/ct/influxdb-v5.sh @@ -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 diff --git a/ct/iobroker-v5.sh b/ct/iobroker-v5.sh index 46703339..b9630dbf 100644 --- a/ct/iobroker-v5.sh +++ b/ct/iobroker-v5.sh @@ -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 diff --git a/ct/jellyfin-v5.sh b/ct/jellyfin-v5.sh index 1a15ddaa..fcdc68bc 100644 --- a/ct/jellyfin-v5.sh +++ b/ct/jellyfin-v5.sh @@ -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 diff --git a/ct/k0s-v5.sh b/ct/k0s-v5.sh index 57e19416..23dec700 100644 --- a/ct/k0s-v5.sh +++ b/ct/k0s-v5.sh @@ -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 diff --git a/ct/kavita-v5.sh b/ct/kavita-v5.sh index 530857d0..010ab091 100644 --- a/ct/kavita-v5.sh +++ b/ct/kavita-v5.sh @@ -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 diff --git a/ct/keycloak-v5.sh b/ct/keycloak-v5.sh index a486ce51..0e0685dd 100644 --- a/ct/keycloak-v5.sh +++ b/ct/keycloak-v5.sh @@ -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 diff --git a/ct/lidarr-v5.sh b/ct/lidarr-v5.sh index 471b3c35..bd9c09b6 100644 --- a/ct/lidarr-v5.sh +++ b/ct/lidarr-v5.sh @@ -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 diff --git a/ct/magicmirror-v5.sh b/ct/magicmirror-v5.sh index f2de7f6a..eee14194 100644 --- a/ct/magicmirror-v5.sh +++ b/ct/magicmirror-v5.sh @@ -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 diff --git a/ct/mariadb-v5.sh b/ct/mariadb-v5.sh index ccc7603d..99872ccc 100644 --- a/ct/mariadb-v5.sh +++ b/ct/mariadb-v5.sh @@ -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 diff --git a/ct/meshcentral-v5.sh b/ct/meshcentral-v5.sh index f187b83d..0fd84963 100644 --- a/ct/meshcentral-v5.sh +++ b/ct/meshcentral-v5.sh @@ -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 diff --git a/ct/motioneye-v5.sh b/ct/motioneye-v5.sh index 13425b56..c7b6fbe5 100644 --- a/ct/motioneye-v5.sh +++ b/ct/motioneye-v5.sh @@ -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 diff --git a/ct/mqtt-v5.sh b/ct/mqtt-v5.sh index 9fb815b5..39c4b139 100644 --- a/ct/mqtt-v5.sh +++ b/ct/mqtt-v5.sh @@ -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 diff --git a/ct/n8n-v5.sh b/ct/n8n-v5.sh index 699bc47d..095b1390 100644 --- a/ct/n8n-v5.sh +++ b/ct/n8n-v5.sh @@ -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 diff --git a/ct/navidrome-v5.sh b/ct/navidrome-v5.sh index e6f961d5..a8d90f80 100644 --- a/ct/navidrome-v5.sh +++ b/ct/navidrome-v5.sh @@ -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 diff --git a/ct/nextcloudpi-v5.sh b/ct/nextcloudpi-v5.sh index 05ec297c..afea7d16 100644 --- a/ct/nextcloudpi-v5.sh +++ b/ct/nextcloudpi-v5.sh @@ -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 diff --git a/ct/nginxproxymanager-v5.sh b/ct/nginxproxymanager-v5.sh index 15ffe2ae..3b548804 100644 --- a/ct/nginxproxymanager-v5.sh +++ b/ct/nginxproxymanager-v5.sh @@ -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 diff --git a/ct/nocodb-v5.sh b/ct/nocodb-v5.sh index b342c7ff..f87f9fe6 100644 --- a/ct/nocodb-v5.sh +++ b/ct/nocodb-v5.sh @@ -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 diff --git a/ct/node-red-v5.sh b/ct/node-red-v5.sh index 7da4688c..7afc8a42 100644 --- a/ct/node-red-v5.sh +++ b/ct/node-red-v5.sh @@ -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 diff --git a/ct/omada-v5.sh b/ct/omada-v5.sh index 7e2cfe85..13339d5f 100644 --- a/ct/omada-v5.sh +++ b/ct/omada-v5.sh @@ -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 diff --git a/ct/omv-v5.sh b/ct/omv-v5.sh index ddec2343..78730bed 100644 --- a/ct/omv-v5.sh +++ b/ct/omv-v5.sh @@ -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 diff --git a/ct/openhab-v5.sh b/ct/openhab-v5.sh index 0bf86b29..066e7b95 100644 --- a/ct/openhab-v5.sh +++ b/ct/openhab-v5.sh @@ -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 diff --git a/ct/paperless-ngx-v5.sh b/ct/paperless-ngx-v5.sh index de3881e4..3939ce43 100644 --- a/ct/paperless-ngx-v5.sh +++ b/ct/paperless-ngx-v5.sh @@ -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 diff --git a/ct/photoprism-v5.sh b/ct/photoprism-v5.sh index 3ecf80a7..61454c44 100644 --- a/ct/photoprism-v5.sh +++ b/ct/photoprism-v5.sh @@ -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 diff --git a/ct/pihole-v5.sh b/ct/pihole-v5.sh index 166ebf1f..49ceffbd 100644 --- a/ct/pihole-v5.sh +++ b/ct/pihole-v5.sh @@ -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 diff --git a/ct/plex-v5.sh b/ct/plex-v5.sh index a1788d81..79726fd8 100644 --- a/ct/plex-v5.sh +++ b/ct/plex-v5.sh @@ -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 diff --git a/ct/podman-homeassistant-v5.sh b/ct/podman-homeassistant-v5.sh index b357b3b0..70dad6d6 100644 --- a/ct/podman-homeassistant-v5.sh +++ b/ct/podman-homeassistant-v5.sh @@ -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 diff --git a/ct/podman-v5.sh b/ct/podman-v5.sh index 1f2c2470..7caa5587 100644 --- a/ct/podman-v5.sh +++ b/ct/podman-v5.sh @@ -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 diff --git a/ct/postgresql-v5.sh b/ct/postgresql-v5.sh index 4454c212..6c33f30c 100644 --- a/ct/postgresql-v5.sh +++ b/ct/postgresql-v5.sh @@ -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 diff --git a/ct/prometheus-v5.sh b/ct/prometheus-v5.sh index 9fdf5152..6a0703dd 100644 --- a/ct/prometheus-v5.sh +++ b/ct/prometheus-v5.sh @@ -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 diff --git a/ct/prowlarr-v5.sh b/ct/prowlarr-v5.sh index a74d903e..f467c799 100644 --- a/ct/prowlarr-v5.sh +++ b/ct/prowlarr-v5.sh @@ -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 diff --git a/ct/radarr-v5.sh b/ct/radarr-v5.sh index 796ed0dd..3bc07f0b 100644 --- a/ct/radarr-v5.sh +++ b/ct/radarr-v5.sh @@ -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 diff --git a/ct/readarr-v5.sh b/ct/readarr-v5.sh index e3d85158..ddb69f64 100644 --- a/ct/readarr-v5.sh +++ b/ct/readarr-v5.sh @@ -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 diff --git a/ct/rockylinux-v5.sh b/ct/rockylinux-v5.sh index 96ec1b69..38ccf52a 100644 --- a/ct/rockylinux-v5.sh +++ b/ct/rockylinux-v5.sh @@ -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 diff --git a/ct/sabnzbd-v5.sh b/ct/sabnzbd-v5.sh index f6853629..39e0857d 100644 --- a/ct/sabnzbd-v5.sh +++ b/ct/sabnzbd-v5.sh @@ -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 diff --git a/ct/scrypted-v5.sh b/ct/scrypted-v5.sh index 5ce07f24..03424609 100644 --- a/ct/scrypted-v5.sh +++ b/ct/scrypted-v5.sh @@ -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 diff --git a/ct/shinobi-v5.sh b/ct/shinobi-v5.sh index 5019ec16..222b7160 100644 --- a/ct/shinobi-v5.sh +++ b/ct/shinobi-v5.sh @@ -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 diff --git a/ct/sonarr-v5.sh b/ct/sonarr-v5.sh index 9c9cd0c6..e52f208d 100644 --- a/ct/sonarr-v5.sh +++ b/ct/sonarr-v5.sh @@ -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 diff --git a/ct/syncthing-v5.sh b/ct/syncthing-v5.sh index 58c2f8b5..57fd16b3 100644 --- a/ct/syncthing-v5.sh +++ b/ct/syncthing-v5.sh @@ -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 diff --git a/ct/tdarr-v5.sh b/ct/tdarr-v5.sh index 0957a656..379cdd3a 100644 --- a/ct/tdarr-v5.sh +++ b/ct/tdarr-v5.sh @@ -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 diff --git a/ct/technitiumdns-v5.sh b/ct/technitiumdns-v5.sh index 347390ee..a57957b2 100644 --- a/ct/technitiumdns-v5.sh +++ b/ct/technitiumdns-v5.sh @@ -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 diff --git a/ct/transmission-v5.sh b/ct/transmission-v5.sh index 357e124f..bb4c56a3 100644 --- a/ct/transmission-v5.sh +++ b/ct/transmission-v5.sh @@ -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 diff --git a/ct/trilium-v5.sh b/ct/trilium-v5.sh index 81f54ca8..a7c1835a 100644 --- a/ct/trilium-v5.sh +++ b/ct/trilium-v5.sh @@ -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 diff --git a/ct/ubuntu-v5.sh b/ct/ubuntu-v5.sh index 7dde2dba..283a90cc 100644 --- a/ct/ubuntu-v5.sh +++ b/ct/ubuntu-v5.sh @@ -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 diff --git a/ct/umbrel-v5.sh b/ct/umbrel-v5.sh index d9d8908d..2bcbe9af 100644 --- a/ct/umbrel-v5.sh +++ b/ct/umbrel-v5.sh @@ -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 diff --git a/ct/unifi-v5.sh b/ct/unifi-v5.sh index f21ee581..f03c2fa3 100644 --- a/ct/unifi-v5.sh +++ b/ct/unifi-v5.sh @@ -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 diff --git a/ct/uptimekuma-v5.sh b/ct/uptimekuma-v5.sh index 4f06f5a2..91f4ece5 100644 --- a/ct/uptimekuma-v5.sh +++ b/ct/uptimekuma-v5.sh @@ -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 diff --git a/ct/vaultwarden-v5.sh b/ct/vaultwarden-v5.sh index 40afa19b..4d15f4b5 100644 --- a/ct/vaultwarden-v5.sh +++ b/ct/vaultwarden-v5.sh @@ -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 diff --git a/ct/whisparr-v5.sh b/ct/whisparr-v5.sh index ec9c3e81..1012592c 100644 --- a/ct/whisparr-v5.sh +++ b/ct/whisparr-v5.sh @@ -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 diff --git a/ct/whoogle-v5.sh b/ct/whoogle-v5.sh index a22cd4e1..7e7fe280 100644 --- a/ct/whoogle-v5.sh +++ b/ct/whoogle-v5.sh @@ -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 diff --git a/ct/wikijs-v5.sh b/ct/wikijs-v5.sh index eb2dc595..52edcef1 100644 --- a/ct/wikijs-v5.sh +++ b/ct/wikijs-v5.sh @@ -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 diff --git a/ct/wireguard-v5.sh b/ct/wireguard-v5.sh index a660ceeb..8f8035b6 100644 --- a/ct/wireguard-v5.sh +++ b/ct/wireguard-v5.sh @@ -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 diff --git a/ct/yunohost-v5.sh b/ct/yunohost-v5.sh index 481fb72c..bc8d0807 100644 --- a/ct/yunohost-v5.sh +++ b/ct/yunohost-v5.sh @@ -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 diff --git a/ct/zigbee2mqtt-v5.sh b/ct/zigbee2mqtt-v5.sh index 7ddc2596..3971d12b 100644 --- a/ct/zigbee2mqtt-v5.sh +++ b/ct/zigbee2mqtt-v5.sh @@ -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 diff --git a/ct/zwave-js-ui-v5.sh b/ct/zwave-js-ui-v5.sh index 6082f7b6..7e936407 100644 --- a/ct/zwave-js-ui-v5.sh +++ b/ct/zwave-js-ui-v5.sh @@ -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