From 2d9b1880fb88d66d9aa9d7a22786aef3442e9a1e Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 11 Feb 2023 20:03:51 -0500 Subject: [PATCH] header_info --- ct/adguard-v5.sh | 2 +- ct/alpine-v5.sh | 2 +- ct/archlinux-v5.sh | 2 +- ct/audiobookshelf-v5.sh | 2 +- ct/autobrr-v5.sh | 2 +- ct/blocky-v5.sh | 2 +- ct/casaos-v5.sh | 2 +- ct/changedetection-v5.sh | 2 +- ct/cronicle-v5.sh | 2 +- ct/daemonsync-v5.sh | 2 +- ct/dashy-v5.sh | 2 +- ct/debian-v5.sh | 2 +- ct/deconz-v5.sh | 2 +- ct/deluge-v5.sh | 2 +- ct/devuan-v5.sh | 2 +- ct/docker-v5.sh | 2 +- ct/emby-v5.sh | 2 +- ct/emqx-v5.sh | 2 +- ct/esphome-v5.sh | 2 +- ct/grafana-v5.sh | 2 +- ct/grocy-v5.sh | 2 +- ct/heimdalldashboard-v5.sh | 2 +- ct/homeassistant-core-v5.sh | 2 +- ct/homeassistant-v5.sh | 2 +- ct/homebridge-v5.sh | 2 +- ct/homepage-v5.sh | 2 +- ct/homer-v5.sh | 2 +- ct/hyperion-v5.sh | 2 +- ct/influxdb-v5.sh | 2 +- ct/iobroker-v5.sh | 2 +- ct/jellyfin-v5.sh | 2 +- ct/k0s-v5.sh | 2 +- ct/kavita-v5.sh | 2 +- ct/keycloak-v5.sh | 2 +- ct/lidarr-v5.sh | 2 +- ct/magicmirror-v5.sh | 2 +- ct/mariadb-v5.sh | 2 +- ct/meshcentral-v5.sh | 2 +- ct/motioneye-v5.sh | 2 +- ct/mqtt-v5.sh | 2 +- ct/n8n-v5.sh | 2 +- ct/navidrome-v5.sh | 2 +- ct/nextcloudpi-v5.sh | 2 +- ct/nginxproxymanager-v5.sh | 2 +- ct/nocodb-v5.sh | 2 +- ct/node-red-v5.sh | 2 +- ct/omada-v5.sh | 2 +- ct/omv-v5.sh | 2 +- ct/openhab-v5.sh | 2 +- ct/paperless-ngx-v5.sh | 2 +- ct/photoprism-v5.sh | 2 +- ct/pihole-v5.sh | 2 +- ct/plex-v5.sh | 2 +- ct/podman-homeassistant-v5.sh | 2 +- ct/podman-v5.sh | 2 +- ct/postgresql-v5.sh | 2 +- ct/prometheus-v5.sh | 2 +- ct/prowlarr-v5.sh | 2 +- ct/radarr-v5.sh | 2 +- ct/readarr-v5.sh | 2 +- ct/rockylinux-v5.sh | 2 +- ct/sabnzbd-v5.sh | 2 +- ct/scrypted-v5.sh | 2 +- ct/shinobi-v5.sh | 2 +- ct/sonarr-v5.sh | 2 +- ct/syncthing-v5.sh | 2 +- ct/tdarr-v5.sh | 2 +- ct/technitiumdns-v5.sh | 2 +- ct/transmission-v5.sh | 2 +- ct/trilium-v5.sh | 2 +- ct/ubuntu-v5.sh | 2 +- ct/umbrel-v5.sh | 2 +- ct/unifi-v5.sh | 2 +- ct/uptimekuma-v5.sh | 2 +- ct/vaultwarden-v5.sh | 2 +- ct/whisparr-v5.sh | 2 +- ct/whoogle-v5.sh | 2 +- ct/wikijs-v5.sh | 2 +- ct/wireguard-v5.sh | 2 +- ct/yunohost-v5.sh | 2 +- ct/zigbee2mqtt-v5.sh | 2 +- ct/zwave-js-ui-v5.sh | 2 +- 82 files changed, 82 insertions(+), 82 deletions(-) diff --git a/ct/adguard-v5.sh b/ct/adguard-v5.sh index 9598c96c..fa35e0c0 100644 --- a/ct/adguard-v5.sh +++ b/ct/adguard-v5.sh @@ -363,9 +363,9 @@ msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/alpine-v5.sh b/ct/alpine-v5.sh index 84af502a..a7d31ece 100644 --- a/ct/alpine-v5.sh +++ b/ct/alpine-v5.sh @@ -342,9 +342,9 @@ apk upgrade &>/dev/null msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/archlinux-v5.sh b/ct/archlinux-v5.sh index fc514746..c1e68f70 100644 --- a/ct/archlinux-v5.sh +++ b/ct/archlinux-v5.sh @@ -346,9 +346,9 @@ pacman -Sy archlinux-keyring && pacman -Su msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/audiobookshelf-v5.sh b/ct/audiobookshelf-v5.sh index 10fcd6b6..05dda529 100644 --- a/ct/audiobookshelf-v5.sh +++ b/ct/audiobookshelf-v5.sh @@ -341,9 +341,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/autobrr-v5.sh b/ct/autobrr-v5.sh index d9ced002..1fed6b3b 100644 --- a/ct/autobrr-v5.sh +++ b/ct/autobrr-v5.sh @@ -355,9 +355,9 @@ msg_ok "Started ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/blocky-v5.sh b/ct/blocky-v5.sh index f3dad3a3..ab491a6e 100644 --- a/ct/blocky-v5.sh +++ b/ct/blocky-v5.sh @@ -346,9 +346,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/casaos-v5.sh b/ct/casaos-v5.sh index 4b6fe964..04683e0d 100644 --- a/ct/casaos-v5.sh +++ b/ct/casaos-v5.sh @@ -355,9 +355,9 @@ msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$FUSE" == "yes" ]; then diff --git a/ct/changedetection-v5.sh b/ct/changedetection-v5.sh index f2885eac..152f314b 100644 --- a/ct/changedetection-v5.sh +++ b/ct/changedetection-v5.sh @@ -345,9 +345,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/cronicle-v5.sh b/ct/cronicle-v5.sh index 6f1a8969..56c4d075 100644 --- a/ct/cronicle-v5.sh +++ b/ct/cronicle-v5.sh @@ -392,9 +392,9 @@ exit fi } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/daemonsync-v5.sh b/ct/daemonsync-v5.sh index fc74c814..ccdd178d 100644 --- a/ct/daemonsync-v5.sh +++ b/ct/daemonsync-v5.sh @@ -346,9 +346,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/dashy-v5.sh b/ct/dashy-v5.sh index a65a68ae..79981fb6 100644 --- a/ct/dashy-v5.sh +++ b/ct/dashy-v5.sh @@ -372,9 +372,9 @@ msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/debian-v5.sh b/ct/debian-v5.sh index c9f16261..03bb03ee 100644 --- a/ct/debian-v5.sh +++ b/ct/debian-v5.sh @@ -341,9 +341,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/deconz-v5.sh b/ct/deconz-v5.sh index 5fd962cd..61e4b0ab 100644 --- a/ct/deconz-v5.sh +++ b/ct/deconz-v5.sh @@ -347,9 +347,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/deluge-v5.sh b/ct/deluge-v5.sh index 93772970..b3824328 100644 --- a/ct/deluge-v5.sh +++ b/ct/deluge-v5.sh @@ -342,9 +342,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/devuan-v5.sh b/ct/devuan-v5.sh index e0454124..3951de1f 100644 --- a/ct/devuan-v5.sh +++ b/ct/devuan-v5.sh @@ -341,9 +341,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/docker-v5.sh b/ct/docker-v5.sh index 09f400f9..98ea5d8c 100644 --- a/ct/docker-v5.sh +++ b/ct/docker-v5.sh @@ -352,9 +352,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated ${APP} LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$FUSE" == "yes" ]; then diff --git a/ct/emby-v5.sh b/ct/emby-v5.sh index 0e43d97a..9cd4053d 100644 --- a/ct/emby-v5.sh +++ b/ct/emby-v5.sh @@ -365,9 +365,9 @@ msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/emqx-v5.sh b/ct/emqx-v5.sh index 9338dc9c..dd98ce38 100644 --- a/ct/emqx-v5.sh +++ b/ct/emqx-v5.sh @@ -345,9 +345,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated ${APP} LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/esphome-v5.sh b/ct/esphome-v5.sh index de3f9c1c..b63a2141 100644 --- a/ct/esphome-v5.sh +++ b/ct/esphome-v5.sh @@ -352,9 +352,9 @@ msg_ok "Started ESPHome" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/grafana-v5.sh b/ct/grafana-v5.sh index 7f9bdd8c..ff4b50bb 100644 --- a/ct/grafana-v5.sh +++ b/ct/grafana-v5.sh @@ -346,9 +346,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/grocy-v5.sh b/ct/grocy-v5.sh index b653f98b..fccf9569 100644 --- a/ct/grocy-v5.sh +++ b/ct/grocy-v5.sh @@ -345,9 +345,9 @@ msg_ok "Updated ${APP}" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/heimdalldashboard-v5.sh b/ct/heimdalldashboard-v5.sh index 5f2da1e8..d8ab9f21 100644 --- a/ct/heimdalldashboard-v5.sh +++ b/ct/heimdalldashboard-v5.sh @@ -425,9 +425,9 @@ msg_ok "Started ${APP}" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/homeassistant-core-v5.sh b/ct/homeassistant-core-v5.sh index 237667a8..0914d90e 100644 --- a/ct/homeassistant-core-v5.sh +++ b/ct/homeassistant-core-v5.sh @@ -420,9 +420,9 @@ exit fi } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/homeassistant-v5.sh b/ct/homeassistant-v5.sh index e568cdae..f7787bd9 100644 --- a/ct/homeassistant-v5.sh +++ b/ct/homeassistant-v5.sh @@ -420,9 +420,9 @@ exit fi } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$FUSE" == "yes" ]; then diff --git a/ct/homebridge-v5.sh b/ct/homebridge-v5.sh index 6426be46..78b8e237 100644 --- a/ct/homebridge-v5.sh +++ b/ct/homebridge-v5.sh @@ -346,9 +346,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/homepage-v5.sh b/ct/homepage-v5.sh index b7a28fc4..97550a20 100644 --- a/ct/homepage-v5.sh +++ b/ct/homepage-v5.sh @@ -352,9 +352,9 @@ systemctl start homepage msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/homer-v5.sh b/ct/homer-v5.sh index f8abc25b..58de4b1d 100644 --- a/ct/homer-v5.sh +++ b/ct/homer-v5.sh @@ -365,9 +365,9 @@ msg_ok "Started ${APP}" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/hyperion-v5.sh b/ct/hyperion-v5.sh index ef7b52fc..13e00b7b 100644 --- a/ct/hyperion-v5.sh +++ b/ct/hyperion-v5.sh @@ -346,9 +346,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/influxdb-v5.sh b/ct/influxdb-v5.sh index 6e8ad3e8..4d5e1ca7 100644 --- a/ct/influxdb-v5.sh +++ b/ct/influxdb-v5.sh @@ -346,9 +346,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/iobroker-v5.sh b/ct/iobroker-v5.sh index b78bec88..97373a1a 100644 --- a/ct/iobroker-v5.sh +++ b/ct/iobroker-v5.sh @@ -346,9 +346,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/jellyfin-v5.sh b/ct/jellyfin-v5.sh index c0ac1574..5281665c 100644 --- a/ct/jellyfin-v5.sh +++ b/ct/jellyfin-v5.sh @@ -355,9 +355,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated ${APP} LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/k0s-v5.sh b/ct/k0s-v5.sh index e543e568..ce4e94ad 100644 --- a/ct/k0s-v5.sh +++ b/ct/k0s-v5.sh @@ -346,9 +346,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/kavita-v5.sh b/ct/kavita-v5.sh index e056a2b1..afa7a8d2 100644 --- a/ct/kavita-v5.sh +++ b/ct/kavita-v5.sh @@ -344,9 +344,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/keycloak-v5.sh b/ct/keycloak-v5.sh index ac952db5..4adf46cf 100644 --- a/ct/keycloak-v5.sh +++ b/ct/keycloak-v5.sh @@ -347,9 +347,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/lidarr-v5.sh b/ct/lidarr-v5.sh index ae15820b..638c94fb 100644 --- a/ct/lidarr-v5.sh +++ b/ct/lidarr-v5.sh @@ -341,9 +341,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/magicmirror-v5.sh b/ct/magicmirror-v5.sh index 863cf8f2..ebfa9d20 100644 --- a/ct/magicmirror-v5.sh +++ b/ct/magicmirror-v5.sh @@ -348,9 +348,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/mariadb-v5.sh b/ct/mariadb-v5.sh index 87bbc374..63dadfd9 100644 --- a/ct/mariadb-v5.sh +++ b/ct/mariadb-v5.sh @@ -346,9 +346,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/meshcentral-v5.sh b/ct/meshcentral-v5.sh index 96cc61b3..0bf47afb 100644 --- a/ct/meshcentral-v5.sh +++ b/ct/meshcentral-v5.sh @@ -346,9 +346,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/motioneye-v5.sh b/ct/motioneye-v5.sh index 48a38033..1b1176bb 100644 --- a/ct/motioneye-v5.sh +++ b/ct/motioneye-v5.sh @@ -345,9 +345,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/mqtt-v5.sh b/ct/mqtt-v5.sh index ea83b216..5eab6ee6 100644 --- a/ct/mqtt-v5.sh +++ b/ct/mqtt-v5.sh @@ -345,9 +345,9 @@ msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/n8n-v5.sh b/ct/n8n-v5.sh index 73185e18..85f1d604 100644 --- a/ct/n8n-v5.sh +++ b/ct/n8n-v5.sh @@ -346,9 +346,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/navidrome-v5.sh b/ct/navidrome-v5.sh index c881aabc..5499040d 100644 --- a/ct/navidrome-v5.sh +++ b/ct/navidrome-v5.sh @@ -357,9 +357,9 @@ msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/nextcloudpi-v5.sh b/ct/nextcloudpi-v5.sh index 18dacc27..20f09b56 100644 --- a/ct/nextcloudpi-v5.sh +++ b/ct/nextcloudpi-v5.sh @@ -346,9 +346,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/nginxproxymanager-v5.sh b/ct/nginxproxymanager-v5.sh index 24df94f3..32f9ee26 100644 --- a/ct/nginxproxymanager-v5.sh +++ b/ct/nginxproxymanager-v5.sh @@ -455,9 +455,9 @@ msg_ok "Cleaned" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/nocodb-v5.sh b/ct/nocodb-v5.sh index 3679f9ba..e30d090c 100644 --- a/ct/nocodb-v5.sh +++ b/ct/nocodb-v5.sh @@ -349,9 +349,9 @@ msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/node-red-v5.sh b/ct/node-red-v5.sh index 9174df64..e2c8ebcd 100644 --- a/ct/node-red-v5.sh +++ b/ct/node-red-v5.sh @@ -381,9 +381,9 @@ exit fi } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/omada-v5.sh b/ct/omada-v5.sh index b8030e6f..1b1c4a8d 100644 --- a/ct/omada-v5.sh +++ b/ct/omada-v5.sh @@ -345,9 +345,9 @@ function install_script() { advanced_settings fi } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/omv-v5.sh b/ct/omv-v5.sh index 3be4bc04..75ce494b 100644 --- a/ct/omv-v5.sh +++ b/ct/omv-v5.sh @@ -347,9 +347,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/openhab-v5.sh b/ct/openhab-v5.sh index 9400a649..a43e311e 100644 --- a/ct/openhab-v5.sh +++ b/ct/openhab-v5.sh @@ -347,9 +347,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/paperless-ngx-v5.sh b/ct/paperless-ngx-v5.sh index 50caf76b..49be3557 100644 --- a/ct/paperless-ngx-v5.sh +++ b/ct/paperless-ngx-v5.sh @@ -414,9 +414,9 @@ exit fi } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/photoprism-v5.sh b/ct/photoprism-v5.sh index 47e0ce5a..72f9d070 100644 --- a/ct/photoprism-v5.sh +++ b/ct/photoprism-v5.sh @@ -367,9 +367,9 @@ msg_ok "Started PhotoPrism" msg_ok "Update Successful" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/pihole-v5.sh b/ct/pihole-v5.sh index 48f6d638..9df75b50 100644 --- a/ct/pihole-v5.sh +++ b/ct/pihole-v5.sh @@ -346,9 +346,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/plex-v5.sh b/ct/plex-v5.sh index 22ef2a52..22edee4f 100644 --- a/ct/plex-v5.sh +++ b/ct/plex-v5.sh @@ -365,9 +365,9 @@ bash -c "$(wget -qO - https://raw.githubusercontent.com/mrworf/plexupdate/master exit fi } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/podman-homeassistant-v5.sh b/ct/podman-homeassistant-v5.sh index 7bcadb9a..cef1ac7a 100644 --- a/ct/podman-homeassistant-v5.sh +++ b/ct/podman-homeassistant-v5.sh @@ -397,9 +397,9 @@ exit fi } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/podman-v5.sh b/ct/podman-v5.sh index e930652c..dcf91be9 100644 --- a/ct/podman-v5.sh +++ b/ct/podman-v5.sh @@ -346,9 +346,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/postgresql-v5.sh b/ct/postgresql-v5.sh index fe869414..e91afbbb 100644 --- a/ct/postgresql-v5.sh +++ b/ct/postgresql-v5.sh @@ -346,9 +346,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/prometheus-v5.sh b/ct/prometheus-v5.sh index d6a8337b..4a9183d5 100644 --- a/ct/prometheus-v5.sh +++ b/ct/prometheus-v5.sh @@ -346,9 +346,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/prowlarr-v5.sh b/ct/prowlarr-v5.sh index aea0d0ff..4750837b 100644 --- a/ct/prowlarr-v5.sh +++ b/ct/prowlarr-v5.sh @@ -341,9 +341,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/radarr-v5.sh b/ct/radarr-v5.sh index 0887807a..472ba5de 100644 --- a/ct/radarr-v5.sh +++ b/ct/radarr-v5.sh @@ -341,9 +341,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/readarr-v5.sh b/ct/readarr-v5.sh index 7dd7dab7..8ab9a9c7 100644 --- a/ct/readarr-v5.sh +++ b/ct/readarr-v5.sh @@ -341,9 +341,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/rockylinux-v5.sh b/ct/rockylinux-v5.sh index d6a2edad..a5b00f02 100644 --- a/ct/rockylinux-v5.sh +++ b/ct/rockylinux-v5.sh @@ -347,9 +347,9 @@ pacman -Sy archlinux-keyring && pacman -Su msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/sabnzbd-v5.sh b/ct/sabnzbd-v5.sh index d203f5ea..9db3ab90 100644 --- a/ct/sabnzbd-v5.sh +++ b/ct/sabnzbd-v5.sh @@ -341,9 +341,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/scrypted-v5.sh b/ct/scrypted-v5.sh index ea3dd572..3c3969cf 100644 --- a/ct/scrypted-v5.sh +++ b/ct/scrypted-v5.sh @@ -347,9 +347,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/shinobi-v5.sh b/ct/shinobi-v5.sh index 2d0dacde..e106c42c 100644 --- a/ct/shinobi-v5.sh +++ b/ct/shinobi-v5.sh @@ -356,9 +356,9 @@ pm2 restart cron msg_ok "Updated Shinobi LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/sonarr-v5.sh b/ct/sonarr-v5.sh index 48a67ff1..593394f4 100644 --- a/ct/sonarr-v5.sh +++ b/ct/sonarr-v5.sh @@ -341,9 +341,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/syncthing-v5.sh b/ct/syncthing-v5.sh index dc1386d1..f8f6d93e 100644 --- a/ct/syncthing-v5.sh +++ b/ct/syncthing-v5.sh @@ -347,9 +347,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/tdarr-v5.sh b/ct/tdarr-v5.sh index 2c5d57d8..c72828f8 100644 --- a/ct/tdarr-v5.sh +++ b/ct/tdarr-v5.sh @@ -341,9 +341,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/technitiumdns-v5.sh b/ct/technitiumdns-v5.sh index dfd99fed..15ac5433 100644 --- a/ct/technitiumdns-v5.sh +++ b/ct/technitiumdns-v5.sh @@ -408,9 +408,9 @@ fi msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/transmission-v5.sh b/ct/transmission-v5.sh index bfe0866e..064229a1 100644 --- a/ct/transmission-v5.sh +++ b/ct/transmission-v5.sh @@ -341,9 +341,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated ${APP} LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/trilium-v5.sh b/ct/trilium-v5.sh index 568ef5fb..f32b8bc1 100644 --- a/ct/trilium-v5.sh +++ b/ct/trilium-v5.sh @@ -365,9 +365,9 @@ msg_ok "Started ${APP}" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/ubuntu-v5.sh b/ct/ubuntu-v5.sh index 6f2c21e8..eb23aaa5 100644 --- a/ct/ubuntu-v5.sh +++ b/ct/ubuntu-v5.sh @@ -349,9 +349,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated ${APP} LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/umbrel-v5.sh b/ct/umbrel-v5.sh index 25dc0b8b..913274a1 100644 --- a/ct/umbrel-v5.sh +++ b/ct/umbrel-v5.sh @@ -353,9 +353,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated ${APP} LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$FUSE" == "yes" ]; then diff --git a/ct/unifi-v5.sh b/ct/unifi-v5.sh index b425a555..895a5122 100644 --- a/ct/unifi-v5.sh +++ b/ct/unifi-v5.sh @@ -346,9 +346,9 @@ msg_ok "Updated ${APP}" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/uptimekuma-v5.sh b/ct/uptimekuma-v5.sh index 01c20770..8454cb81 100644 --- a/ct/uptimekuma-v5.sh +++ b/ct/uptimekuma-v5.sh @@ -363,9 +363,9 @@ msg_ok "Started ${APP}" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/vaultwarden-v5.sh b/ct/vaultwarden-v5.sh index 207dc53e..5c9dbddb 100644 --- a/ct/vaultwarden-v5.sh +++ b/ct/vaultwarden-v5.sh @@ -414,9 +414,9 @@ exit fi } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/whisparr-v5.sh b/ct/whisparr-v5.sh index 7da6bb51..63161066 100644 --- a/ct/whisparr-v5.sh +++ b/ct/whisparr-v5.sh @@ -342,9 +342,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/whoogle-v5.sh b/ct/whoogle-v5.sh index e54493af..51acf61b 100644 --- a/ct/whoogle-v5.sh +++ b/ct/whoogle-v5.sh @@ -345,9 +345,9 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/wikijs-v5.sh b/ct/wikijs-v5.sh index d597ec2a..c9912aef 100644 --- a/ct/wikijs-v5.sh +++ b/ct/wikijs-v5.sh @@ -359,9 +359,9 @@ msg_ok "Started ${APP}" msg_ok "Update Successfull" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/wireguard-v5.sh b/ct/wireguard-v5.sh index 81b875bc..249a8205 100644 --- a/ct/wireguard-v5.sh +++ b/ct/wireguard-v5.sh @@ -401,9 +401,9 @@ exit fi } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/yunohost-v5.sh b/ct/yunohost-v5.sh index 3e25d98f..7ae9a540 100644 --- a/ct/yunohost-v5.sh +++ b/ct/yunohost-v5.sh @@ -341,9 +341,9 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/zigbee2mqtt-v5.sh b/ct/zigbee2mqtt-v5.sh index 174bd8bb..886b8d43 100644 --- a/ct/zigbee2mqtt-v5.sh +++ b/ct/zigbee2mqtt-v5.sh @@ -392,9 +392,9 @@ start_zigbee2mqtt echo "Done!" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then diff --git a/ct/zwave-js-ui-v5.sh b/ct/zwave-js-ui-v5.sh index 3385dc58..d114feda 100644 --- a/ct/zwave-js-ui-v5.sh +++ b/ct/zwave-js-ui-v5.sh @@ -359,9 +359,9 @@ msg_ok "Cleaned" msg_ok "Updated Successfully!\n" exit } -header_info ARCH_CHECK PVE_CHECK +header_info if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi if [ "$VERB" == "yes" ]; then set -x; fi if [ "$CT_TYPE" == "1" ]; then