diff --git a/ct/adguard-v5.sh b/ct/adguard-v5.sh index fa35e0c0..74934552 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 a7d31ece..754f2e49 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 c1e68f70..23e9b352 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 05dda529..67b9743f 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 1fed6b3b..08754961 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 ab491a6e..d197e42a 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 04683e0d..8bc4d337 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 152f314b..c4b00088 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 56c4d075..6d87466f 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 ccdd178d..70ffccbb 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 79981fb6..e81e0be1 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 03bb03ee..a42ebe1f 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 61e4b0ab..c0985471 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 b3824328..d249c084 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 3951de1f..c494a805 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 98ea5d8c..35a93d52 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 9cd4053d..022e8a4d 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 dd98ce38..c5cd3d70 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 b63a2141..3dda1671 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 ff4b50bb..9dc81a58 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 fccf9569..97ec5e40 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 d8ab9f21..ebbf5c09 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 0914d90e..f60c6ff5 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 f7787bd9..5887793b 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 78b8e237..caabb1f4 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 97550a20..17d8197b 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 58de4b1d..9661e132 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 13e00b7b..4198119d 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 4d5e1ca7..2a8151c3 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 97373a1a..398478a8 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 5281665c..2332180d 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 ce4e94ad..421e517b 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 afa7a8d2..f3c2eebe 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 4adf46cf..2998f12f 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 638c94fb..3f63d0d4 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 ebfa9d20..d43b49c4 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 63dadfd9..f8604781 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 0bf47afb..f34b8c82 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 1b1176bb..633c6a00 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 5eab6ee6..312134fa 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 85f1d604..8533e434 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 5499040d..ce73bc4c 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 20f09b56..86d2abdb 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 32f9ee26..0c91b4ff 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 e30d090c..1248bb47 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 e2c8ebcd..0f5dbf28 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 1b1c4a8d..f0fe5e7b 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 75ce494b..fc816afb 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 a43e311e..936d9cfb 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 49be3557..7c02f6f2 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 72f9d070..c5421e36 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 9df75b50..e81072e6 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 22edee4f..ad63a59e 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 cef1ac7a..585fb563 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 dcf91be9..3ba54738 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 e91afbbb..bca3cb47 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 4a9183d5..687b8205 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 4750837b..b0aadbb5 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 472ba5de..17f60707 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 8ab9a9c7..e8a323b0 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 a5b00f02..aeb48aeb 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 9db3ab90..863ea945 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 3c3969cf..1c950d52 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 e106c42c..184f05d1 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 593394f4..a887509c 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 f8f6d93e..2dd091c6 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 c72828f8..9d088413 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 15ac5433..80727dc5 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 064229a1..f1f69af9 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 f32b8bc1..a52e0963 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 eb23aaa5..78a1d4bc 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 913274a1..75bb0d59 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 895a5122..e13aa3a9 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 8454cb81..64c0a2eb 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 5c9dbddb..9eb335e9 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 63161066..912b2df8 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 51acf61b..2713bc4b 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 c9912aef..1ed58c5a 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 249a8205..4738f193 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 7ae9a540..d73d52c9 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 886b8d43..879efc0a 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 d114feda..d5e8b421 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