diff --git a/ct/adguard-v5.sh b/ct/adguard-v5.sh index fa35e0c02b..7493455221 100644 --- a/ct/adguard-v5.sh +++ b/ct/adguard-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -363,8 +365,6 @@ msg_ok "Update Successfull" exit } -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 diff --git a/ct/alpine-v5.sh b/ct/alpine-v5.sh index a7d31ece35..754f2e496f 100644 --- a/ct/alpine-v5.sh +++ b/ct/alpine-v5.sh @@ -323,6 +323,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -342,8 +344,6 @@ apk upgrade &>/dev/null msg_ok "Update Successfull" exit } -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 diff --git a/ct/archlinux-v5.sh b/ct/archlinux-v5.sh index c1e68f70d0..23e9b352c7 100644 --- a/ct/archlinux-v5.sh +++ b/ct/archlinux-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -346,8 +348,6 @@ pacman -Sy archlinux-keyring && pacman -Su msg_ok "Update Successfull" exit } -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 diff --git a/ct/audiobookshelf-v5.sh b/ct/audiobookshelf-v5.sh index 05dda529b3..67b9743ff3 100644 --- a/ct/audiobookshelf-v5.sh +++ b/ct/audiobookshelf-v5.sh @@ -322,6 +322,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -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 diff --git a/ct/autobrr-v5.sh b/ct/autobrr-v5.sh index 1fed6b3bce..087549614b 100644 --- a/ct/autobrr-v5.sh +++ b/ct/autobrr-v5.sh @@ -325,6 +325,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -355,8 +357,6 @@ msg_ok "Started ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/blocky-v5.sh b/ct/blocky-v5.sh index ab491a6e67..d197e42ae0 100644 --- a/ct/blocky-v5.sh +++ b/ct/blocky-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/casaos-v5.sh b/ct/casaos-v5.sh index 04683e0d22..8bc4d3378e 100644 --- a/ct/casaos-v5.sh +++ b/ct/casaos-v5.sh @@ -335,6 +335,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -355,8 +357,6 @@ msg_ok "Update Successfull" exit } -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 diff --git a/ct/changedetection-v5.sh b/ct/changedetection-v5.sh index 152f314bec..c4b00088ae 100644 --- a/ct/changedetection-v5.sh +++ b/ct/changedetection-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -345,8 +347,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/cronicle-v5.sh b/ct/cronicle-v5.sh index 56c4d075c2..6d87466f9f 100644 --- a/ct/cronicle-v5.sh +++ b/ct/cronicle-v5.sh @@ -324,6 +324,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -392,8 +394,6 @@ exit fi } -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 diff --git a/ct/daemonsync-v5.sh b/ct/daemonsync-v5.sh index ccdd178d7c..70ffccbb2f 100644 --- a/ct/daemonsync-v5.sh +++ b/ct/daemonsync-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/dashy-v5.sh b/ct/dashy-v5.sh index 79981fb6a4..e81e0be128 100644 --- a/ct/dashy-v5.sh +++ b/ct/dashy-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -372,8 +374,6 @@ msg_ok "Update Successfull" exit } -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 diff --git a/ct/debian-v5.sh b/ct/debian-v5.sh index 03bb03eec0..a42ebe1f1b 100644 --- a/ct/debian-v5.sh +++ b/ct/debian-v5.sh @@ -322,6 +322,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -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 diff --git a/ct/deconz-v5.sh b/ct/deconz-v5.sh index 61e4b0abd7..c0985471ce 100644 --- a/ct/deconz-v5.sh +++ b/ct/deconz-v5.sh @@ -327,6 +327,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -347,8 +349,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/deluge-v5.sh b/ct/deluge-v5.sh index b3824328fd..d249c08493 100644 --- a/ct/deluge-v5.sh +++ b/ct/deluge-v5.sh @@ -323,6 +323,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -342,8 +344,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -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 diff --git a/ct/devuan-v5.sh b/ct/devuan-v5.sh index 3951de1f43..c494a805ee 100644 --- a/ct/devuan-v5.sh +++ b/ct/devuan-v5.sh @@ -322,6 +322,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -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 diff --git a/ct/docker-v5.sh b/ct/docker-v5.sh index 98ea5d8ca9..35a93d520b 100644 --- a/ct/docker-v5.sh +++ b/ct/docker-v5.sh @@ -334,6 +334,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -352,8 +354,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated ${APP} LXC" exit } -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 diff --git a/ct/emby-v5.sh b/ct/emby-v5.sh index 9cd4053d02..022e8a4d33 100644 --- a/ct/emby-v5.sh +++ b/ct/emby-v5.sh @@ -335,6 +335,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -365,8 +367,6 @@ msg_ok "Update Successfull" exit } -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 diff --git a/ct/emqx-v5.sh b/ct/emqx-v5.sh index dd98ce384d..c5cd3d7028 100644 --- a/ct/emqx-v5.sh +++ b/ct/emqx-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -345,8 +347,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated ${APP} LXC" exit } -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 diff --git a/ct/esphome-v5.sh b/ct/esphome-v5.sh index b63a21417a..3dda167124 100644 --- a/ct/esphome-v5.sh +++ b/ct/esphome-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -352,8 +354,6 @@ msg_ok "Started ESPHome" msg_ok "Update Successfull" exit } -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 diff --git a/ct/grafana-v5.sh b/ct/grafana-v5.sh index ff4b50bb66..9dc81a5855 100644 --- a/ct/grafana-v5.sh +++ b/ct/grafana-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/grocy-v5.sh b/ct/grocy-v5.sh index fccf9569c3..97ec5e40c9 100644 --- a/ct/grocy-v5.sh +++ b/ct/grocy-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -345,8 +347,6 @@ msg_ok "Updated ${APP}" msg_ok "Update Successfull" exit } -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 diff --git a/ct/heimdalldashboard-v5.sh b/ct/heimdalldashboard-v5.sh index d8ab9f2163..ebbf5c0992 100644 --- a/ct/heimdalldashboard-v5.sh +++ b/ct/heimdalldashboard-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -425,8 +427,6 @@ msg_ok "Started ${APP}" msg_ok "Update Successfull" exit } -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 diff --git a/ct/homeassistant-core-v5.sh b/ct/homeassistant-core-v5.sh index 0914d90e30..f60c6ff53d 100644 --- a/ct/homeassistant-core-v5.sh +++ b/ct/homeassistant-core-v5.sh @@ -329,6 +329,8 @@ function advanced_settings() { } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -420,8 +422,6 @@ exit fi } -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 diff --git a/ct/homeassistant-v5.sh b/ct/homeassistant-v5.sh index f7787bd9ac..5887793b8c 100644 --- a/ct/homeassistant-v5.sh +++ b/ct/homeassistant-v5.sh @@ -337,6 +337,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -420,8 +422,6 @@ exit fi } -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 diff --git a/ct/homebridge-v5.sh b/ct/homebridge-v5.sh index 78b8e23799..caabb1f4b8 100644 --- a/ct/homebridge-v5.sh +++ b/ct/homebridge-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/homepage-v5.sh b/ct/homepage-v5.sh index 97550a209f..17d8197b55 100644 --- a/ct/homepage-v5.sh +++ b/ct/homepage-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -352,8 +354,6 @@ systemctl start homepage msg_ok "Update Successfull" exit } -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 diff --git a/ct/homer-v5.sh b/ct/homer-v5.sh index 58de4b1da0..9661e13216 100644 --- a/ct/homer-v5.sh +++ b/ct/homer-v5.sh @@ -322,6 +322,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -365,8 +367,6 @@ msg_ok "Started ${APP}" msg_ok "Update Successfull" exit } -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 diff --git a/ct/hyperion-v5.sh b/ct/hyperion-v5.sh index 13e00b7bee..4198119d83 100644 --- a/ct/hyperion-v5.sh +++ b/ct/hyperion-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/influxdb-v5.sh b/ct/influxdb-v5.sh index 4d5e1ca7a8..2a8151c350 100644 --- a/ct/influxdb-v5.sh +++ b/ct/influxdb-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/iobroker-v5.sh b/ct/iobroker-v5.sh index 97373a1aa7..398478a83a 100644 --- a/ct/iobroker-v5.sh +++ b/ct/iobroker-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/jellyfin-v5.sh b/ct/jellyfin-v5.sh index 5281665cd1..2332180d10 100644 --- a/ct/jellyfin-v5.sh +++ b/ct/jellyfin-v5.sh @@ -337,6 +337,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -355,8 +357,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated ${APP} LXC" exit } -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 diff --git a/ct/k0s-v5.sh b/ct/k0s-v5.sh index ce4e94adfd..421e517b94 100644 --- a/ct/k0s-v5.sh +++ b/ct/k0s-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/kavita-v5.sh b/ct/kavita-v5.sh index afa7a8d29d..f3c2eebe3b 100644 --- a/ct/kavita-v5.sh +++ b/ct/kavita-v5.sh @@ -325,6 +325,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -344,8 +346,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -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 diff --git a/ct/keycloak-v5.sh b/ct/keycloak-v5.sh index 4adf46cf26..2998f12f43 100644 --- a/ct/keycloak-v5.sh +++ b/ct/keycloak-v5.sh @@ -327,6 +327,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -347,8 +349,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/lidarr-v5.sh b/ct/lidarr-v5.sh index 638c94fb87..3f63d0d40c 100644 --- a/ct/lidarr-v5.sh +++ b/ct/lidarr-v5.sh @@ -322,6 +322,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -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 diff --git a/ct/magicmirror-v5.sh b/ct/magicmirror-v5.sh index ebfa9d209e..d43b49c4b2 100644 --- a/ct/magicmirror-v5.sh +++ b/ct/magicmirror-v5.sh @@ -327,6 +327,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -348,8 +350,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/mariadb-v5.sh b/ct/mariadb-v5.sh index 63dadfd9a3..f8604781a9 100644 --- a/ct/mariadb-v5.sh +++ b/ct/mariadb-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/meshcentral-v5.sh b/ct/meshcentral-v5.sh index 0bf47afb69..f34b8c82c2 100644 --- a/ct/meshcentral-v5.sh +++ b/ct/meshcentral-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/motioneye-v5.sh b/ct/motioneye-v5.sh index 1b1176bbd7..633c6a00fd 100644 --- a/ct/motioneye-v5.sh +++ b/ct/motioneye-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -345,8 +347,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/mqtt-v5.sh b/ct/mqtt-v5.sh index 5eab6ee69a..312134fa14 100644 --- a/ct/mqtt-v5.sh +++ b/ct/mqtt-v5.sh @@ -324,6 +324,8 @@ function advanced_settings() { } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -345,8 +347,6 @@ msg_ok "Update Successfull" exit } -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 diff --git a/ct/n8n-v5.sh b/ct/n8n-v5.sh index 85f1d6048e..8533e4349c 100644 --- a/ct/n8n-v5.sh +++ b/ct/n8n-v5.sh @@ -327,6 +327,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/navidrome-v5.sh b/ct/navidrome-v5.sh index 5499040dd1..ce73bc4cf4 100644 --- a/ct/navidrome-v5.sh +++ b/ct/navidrome-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -357,8 +359,6 @@ msg_ok "Update Successfull" exit } -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 diff --git a/ct/nextcloudpi-v5.sh b/ct/nextcloudpi-v5.sh index 20f09b56e3..86d2abdb81 100644 --- a/ct/nextcloudpi-v5.sh +++ b/ct/nextcloudpi-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/nginxproxymanager-v5.sh b/ct/nginxproxymanager-v5.sh index 32f9ee26f1..0c91b4ffbd 100644 --- a/ct/nginxproxymanager-v5.sh +++ b/ct/nginxproxymanager-v5.sh @@ -327,6 +327,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -455,8 +457,6 @@ msg_ok "Cleaned" msg_ok "Update Successfull" exit } -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 diff --git a/ct/nocodb-v5.sh b/ct/nocodb-v5.sh index e30d090c98..1248bb47ec 100644 --- a/ct/nocodb-v5.sh +++ b/ct/nocodb-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -349,8 +351,6 @@ msg_ok "Update Successfull" exit } -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 diff --git a/ct/node-red-v5.sh b/ct/node-red-v5.sh index e2c8ebcdce..0f5dbf282c 100644 --- a/ct/node-red-v5.sh +++ b/ct/node-red-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -381,8 +383,6 @@ exit fi } -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 diff --git a/ct/omada-v5.sh b/ct/omada-v5.sh index 1b1c4a8dea..f0fe5e7b84 100644 --- a/ct/omada-v5.sh +++ b/ct/omada-v5.sh @@ -335,6 +335,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -345,8 +347,6 @@ function install_script() { advanced_settings fi } -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 diff --git a/ct/omv-v5.sh b/ct/omv-v5.sh index 75ce494b67..fc816afbfa 100644 --- a/ct/omv-v5.sh +++ b/ct/omv-v5.sh @@ -327,6 +327,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -347,8 +349,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/openhab-v5.sh b/ct/openhab-v5.sh index a43e311ee3..936d9cfb2a 100644 --- a/ct/openhab-v5.sh +++ b/ct/openhab-v5.sh @@ -327,6 +327,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -347,8 +349,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/paperless-ngx-v5.sh b/ct/paperless-ngx-v5.sh index 49be3557f4..7c02f6f279 100644 --- a/ct/paperless-ngx-v5.sh +++ b/ct/paperless-ngx-v5.sh @@ -327,6 +327,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -414,8 +416,6 @@ exit fi } -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 diff --git a/ct/photoprism-v5.sh b/ct/photoprism-v5.sh index 72f9d07037..c5421e363a 100644 --- a/ct/photoprism-v5.sh +++ b/ct/photoprism-v5.sh @@ -325,6 +325,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -367,8 +369,6 @@ msg_ok "Started PhotoPrism" msg_ok "Update Successful" exit } -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 diff --git a/ct/pihole-v5.sh b/ct/pihole-v5.sh index 9df75b50fa..e81072e6cd 100644 --- a/ct/pihole-v5.sh +++ b/ct/pihole-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/plex-v5.sh b/ct/plex-v5.sh index 22edee4f76..ad63a59e12 100644 --- a/ct/plex-v5.sh +++ b/ct/plex-v5.sh @@ -336,6 +336,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -365,8 +367,6 @@ bash -c "$(wget -qO - https://raw.githubusercontent.com/mrworf/plexupdate/master exit fi } -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 diff --git a/ct/podman-homeassistant-v5.sh b/ct/podman-homeassistant-v5.sh index cef1ac7a17..585fb56391 100644 --- a/ct/podman-homeassistant-v5.sh +++ b/ct/podman-homeassistant-v5.sh @@ -330,6 +330,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -397,8 +399,6 @@ exit fi } -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 diff --git a/ct/podman-v5.sh b/ct/podman-v5.sh index dcf91be951..3ba5473841 100644 --- a/ct/podman-v5.sh +++ b/ct/podman-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/postgresql-v5.sh b/ct/postgresql-v5.sh index e91afbbb93..bca3cb4711 100644 --- a/ct/postgresql-v5.sh +++ b/ct/postgresql-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/prometheus-v5.sh b/ct/prometheus-v5.sh index 4a9183d5eb..687b8205c4 100644 --- a/ct/prometheus-v5.sh +++ b/ct/prometheus-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/prowlarr-v5.sh b/ct/prowlarr-v5.sh index 4750837b1e..b0aadbb588 100644 --- a/ct/prowlarr-v5.sh +++ b/ct/prowlarr-v5.sh @@ -322,6 +322,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -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 diff --git a/ct/radarr-v5.sh b/ct/radarr-v5.sh index 472ba5de85..17f6070793 100644 --- a/ct/radarr-v5.sh +++ b/ct/radarr-v5.sh @@ -322,6 +322,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -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 diff --git a/ct/readarr-v5.sh b/ct/readarr-v5.sh index 8ab9a9c777..e8a323b083 100644 --- a/ct/readarr-v5.sh +++ b/ct/readarr-v5.sh @@ -322,6 +322,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -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 diff --git a/ct/rockylinux-v5.sh b/ct/rockylinux-v5.sh index a5b00f026a..aeb48aeb21 100644 --- a/ct/rockylinux-v5.sh +++ b/ct/rockylinux-v5.sh @@ -327,6 +327,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -347,8 +349,6 @@ pacman -Sy archlinux-keyring && pacman -Su msg_ok "Update Successfull" exit } -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 diff --git a/ct/sabnzbd-v5.sh b/ct/sabnzbd-v5.sh index 9db3ab906e..863ea9451b 100644 --- a/ct/sabnzbd-v5.sh +++ b/ct/sabnzbd-v5.sh @@ -322,6 +322,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -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 diff --git a/ct/scrypted-v5.sh b/ct/scrypted-v5.sh index 3c3969cfbc..1c950d52c6 100644 --- a/ct/scrypted-v5.sh +++ b/ct/scrypted-v5.sh @@ -327,6 +327,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -347,8 +349,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/shinobi-v5.sh b/ct/shinobi-v5.sh index e106c42c43..184f05d1bf 100644 --- a/ct/shinobi-v5.sh +++ b/ct/shinobi-v5.sh @@ -335,6 +335,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -356,8 +358,6 @@ pm2 restart cron msg_ok "Updated Shinobi LXC" exit } -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 diff --git a/ct/sonarr-v5.sh b/ct/sonarr-v5.sh index 593394f4f9..a887509c27 100644 --- a/ct/sonarr-v5.sh +++ b/ct/sonarr-v5.sh @@ -322,6 +322,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -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 diff --git a/ct/syncthing-v5.sh b/ct/syncthing-v5.sh index f8f6d93ed1..2dd091c650 100644 --- a/ct/syncthing-v5.sh +++ b/ct/syncthing-v5.sh @@ -327,6 +327,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -347,8 +349,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/tdarr-v5.sh b/ct/tdarr-v5.sh index c72828f81a..9d0884134a 100644 --- a/ct/tdarr-v5.sh +++ b/ct/tdarr-v5.sh @@ -322,6 +322,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -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 diff --git a/ct/technitiumdns-v5.sh b/ct/technitiumdns-v5.sh index 15ac543317..80727dc5a6 100644 --- a/ct/technitiumdns-v5.sh +++ b/ct/technitiumdns-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -408,8 +410,6 @@ fi msg_ok "Update Successfull" exit } -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 diff --git a/ct/transmission-v5.sh b/ct/transmission-v5.sh index 064229a191..f1f69af93f 100644 --- a/ct/transmission-v5.sh +++ b/ct/transmission-v5.sh @@ -322,6 +322,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated ${APP} LXC" exit } -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 diff --git a/ct/trilium-v5.sh b/ct/trilium-v5.sh index f32b8bc1bb..a52e096363 100644 --- a/ct/trilium-v5.sh +++ b/ct/trilium-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -365,8 +367,6 @@ msg_ok "Started ${APP}" msg_ok "Update Successfull" exit } -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 diff --git a/ct/ubuntu-v5.sh b/ct/ubuntu-v5.sh index eb23aaa5b8..78a1d4bcef 100644 --- a/ct/ubuntu-v5.sh +++ b/ct/ubuntu-v5.sh @@ -331,6 +331,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -349,8 +351,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated ${APP} LXC" exit } -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 diff --git a/ct/umbrel-v5.sh b/ct/umbrel-v5.sh index 913274a1ca..75bb0d59dc 100644 --- a/ct/umbrel-v5.sh +++ b/ct/umbrel-v5.sh @@ -335,6 +335,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -353,8 +355,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated ${APP} LXC" exit } -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 diff --git a/ct/unifi-v5.sh b/ct/unifi-v5.sh index 895a5122e4..e13aa3a94d 100644 --- a/ct/unifi-v5.sh +++ b/ct/unifi-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -346,8 +348,6 @@ msg_ok "Updated ${APP}" msg_ok "Update Successfull" exit } -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 diff --git a/ct/uptimekuma-v5.sh b/ct/uptimekuma-v5.sh index 8454cb819e..64c0a2eb2f 100644 --- a/ct/uptimekuma-v5.sh +++ b/ct/uptimekuma-v5.sh @@ -327,6 +327,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -363,8 +365,6 @@ msg_ok "Started ${APP}" msg_ok "Update Successfull" exit } -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 diff --git a/ct/vaultwarden-v5.sh b/ct/vaultwarden-v5.sh index 5c9dbddb7d..9eb335e97e 100644 --- a/ct/vaultwarden-v5.sh +++ b/ct/vaultwarden-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -414,8 +416,6 @@ exit fi } -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 diff --git a/ct/whisparr-v5.sh b/ct/whisparr-v5.sh index 631610661a..912b2df825 100644 --- a/ct/whisparr-v5.sh +++ b/ct/whisparr-v5.sh @@ -323,6 +323,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -342,8 +344,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -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 diff --git a/ct/whoogle-v5.sh b/ct/whoogle-v5.sh index 51acf61b58..2713bc4b92 100644 --- a/ct/whoogle-v5.sh +++ b/ct/whoogle-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -345,8 +347,6 @@ msg_ok "Updated ${APP} LXC" msg_ok "Update Successfull" exit } -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 diff --git a/ct/wikijs-v5.sh b/ct/wikijs-v5.sh index c9912aeff8..1ed58c5a06 100644 --- a/ct/wikijs-v5.sh +++ b/ct/wikijs-v5.sh @@ -327,6 +327,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -359,8 +361,6 @@ msg_ok "Started ${APP}" msg_ok "Update Successfull" exit } -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 diff --git a/ct/wireguard-v5.sh b/ct/wireguard-v5.sh index 249a820581..4738f193d8 100644 --- a/ct/wireguard-v5.sh +++ b/ct/wireguard-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -401,8 +403,6 @@ exit fi } -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 diff --git a/ct/yunohost-v5.sh b/ct/yunohost-v5.sh index 7ae9a540d6..d73d52c9da 100644 --- a/ct/yunohost-v5.sh +++ b/ct/yunohost-v5.sh @@ -322,6 +322,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null msg_ok "Updated $APP LXC" exit } -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 diff --git a/ct/zigbee2mqtt-v5.sh b/ct/zigbee2mqtt-v5.sh index 886b8d4324..879efc0a82 100644 --- a/ct/zigbee2mqtt-v5.sh +++ b/ct/zigbee2mqtt-v5.sh @@ -327,6 +327,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -392,8 +394,6 @@ start_zigbee2mqtt echo "Done!" exit } -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 diff --git a/ct/zwave-js-ui-v5.sh b/ct/zwave-js-ui-v5.sh index d114feda96..d5e8b421eb 100644 --- a/ct/zwave-js-ui-v5.sh +++ b/ct/zwave-js-ui-v5.sh @@ -326,6 +326,8 @@ function advanced_settings() { fi } function install_script() { +ARCH_CHECK +PVE_CHECK if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then header_info echo -e "${BL}Using Default Settings${CL}" @@ -359,8 +361,6 @@ msg_ok "Cleaned" msg_ok "Updated Successfully!\n" exit } -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