Browse Source

move checks to function install_script() (#1045)

tteckster 2 years ago
parent
commit
36ca6fa9d2
82 changed files with 164 additions and 164 deletions
  1. 2 2
      ct/adguard-v5.sh
  2. 2 2
      ct/alpine-v5.sh
  3. 2 2
      ct/archlinux-v5.sh
  4. 2 2
      ct/audiobookshelf-v5.sh
  5. 2 2
      ct/autobrr-v5.sh
  6. 2 2
      ct/blocky-v5.sh
  7. 2 2
      ct/casaos-v5.sh
  8. 2 2
      ct/changedetection-v5.sh
  9. 2 2
      ct/cronicle-v5.sh
  10. 2 2
      ct/daemonsync-v5.sh
  11. 2 2
      ct/dashy-v5.sh
  12. 2 2
      ct/debian-v5.sh
  13. 2 2
      ct/deconz-v5.sh
  14. 2 2
      ct/deluge-v5.sh
  15. 2 2
      ct/devuan-v5.sh
  16. 2 2
      ct/docker-v5.sh
  17. 2 2
      ct/emby-v5.sh
  18. 2 2
      ct/emqx-v5.sh
  19. 2 2
      ct/esphome-v5.sh
  20. 2 2
      ct/grafana-v5.sh
  21. 2 2
      ct/grocy-v5.sh
  22. 2 2
      ct/heimdalldashboard-v5.sh
  23. 2 2
      ct/homeassistant-core-v5.sh
  24. 2 2
      ct/homeassistant-v5.sh
  25. 2 2
      ct/homebridge-v5.sh
  26. 2 2
      ct/homepage-v5.sh
  27. 2 2
      ct/homer-v5.sh
  28. 2 2
      ct/hyperion-v5.sh
  29. 2 2
      ct/influxdb-v5.sh
  30. 2 2
      ct/iobroker-v5.sh
  31. 2 2
      ct/jellyfin-v5.sh
  32. 2 2
      ct/k0s-v5.sh
  33. 2 2
      ct/kavita-v5.sh
  34. 2 2
      ct/keycloak-v5.sh
  35. 2 2
      ct/lidarr-v5.sh
  36. 2 2
      ct/magicmirror-v5.sh
  37. 2 2
      ct/mariadb-v5.sh
  38. 2 2
      ct/meshcentral-v5.sh
  39. 2 2
      ct/motioneye-v5.sh
  40. 2 2
      ct/mqtt-v5.sh
  41. 2 2
      ct/n8n-v5.sh
  42. 2 2
      ct/navidrome-v5.sh
  43. 2 2
      ct/nextcloudpi-v5.sh
  44. 2 2
      ct/nginxproxymanager-v5.sh
  45. 2 2
      ct/nocodb-v5.sh
  46. 2 2
      ct/node-red-v5.sh
  47. 2 2
      ct/omada-v5.sh
  48. 2 2
      ct/omv-v5.sh
  49. 2 2
      ct/openhab-v5.sh
  50. 2 2
      ct/paperless-ngx-v5.sh
  51. 2 2
      ct/photoprism-v5.sh
  52. 2 2
      ct/pihole-v5.sh
  53. 2 2
      ct/plex-v5.sh
  54. 2 2
      ct/podman-homeassistant-v5.sh
  55. 2 2
      ct/podman-v5.sh
  56. 2 2
      ct/postgresql-v5.sh
  57. 2 2
      ct/prometheus-v5.sh
  58. 2 2
      ct/prowlarr-v5.sh
  59. 2 2
      ct/radarr-v5.sh
  60. 2 2
      ct/readarr-v5.sh
  61. 2 2
      ct/rockylinux-v5.sh
  62. 2 2
      ct/sabnzbd-v5.sh
  63. 2 2
      ct/scrypted-v5.sh
  64. 2 2
      ct/shinobi-v5.sh
  65. 2 2
      ct/sonarr-v5.sh
  66. 2 2
      ct/syncthing-v5.sh
  67. 2 2
      ct/tdarr-v5.sh
  68. 2 2
      ct/technitiumdns-v5.sh
  69. 2 2
      ct/transmission-v5.sh
  70. 2 2
      ct/trilium-v5.sh
  71. 2 2
      ct/ubuntu-v5.sh
  72. 2 2
      ct/umbrel-v5.sh
  73. 2 2
      ct/unifi-v5.sh
  74. 2 2
      ct/uptimekuma-v5.sh
  75. 2 2
      ct/vaultwarden-v5.sh
  76. 2 2
      ct/whisparr-v5.sh
  77. 2 2
      ct/whoogle-v5.sh
  78. 2 2
      ct/wikijs-v5.sh
  79. 2 2
      ct/wireguard-v5.sh
  80. 2 2
      ct/yunohost-v5.sh
  81. 2 2
      ct/zigbee2mqtt-v5.sh
  82. 2 2
      ct/zwave-js-ui-v5.sh

+ 2 - 2
ct/adguard-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
 }
 }
 
 
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -363,8 +365,6 @@ msg_ok "Update Successfull"
 exit
 exit
 }
 }
 
 
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/alpine-v5.sh

@@ -323,6 +323,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -342,8 +344,6 @@ apk upgrade &>/dev/null
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/archlinux-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -346,8 +348,6 @@ pacman -Sy archlinux-keyring && pacman -Su
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/audiobookshelf-v5.sh

@@ -322,6 +322,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated $APP LXC"
 msg_ok "Updated $APP LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/autobrr-v5.sh

@@ -325,6 +325,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -355,8 +357,6 @@ msg_ok "Started ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/blocky-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/casaos-v5.sh

@@ -335,6 +335,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -355,8 +357,6 @@ msg_ok "Update Successfull"
 exit
 exit
 }
 }
 
 
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/changedetection-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -345,8 +347,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/cronicle-v5.sh

@@ -324,6 +324,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -392,8 +394,6 @@ exit
 fi
 fi
 }
 }
 
 
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/daemonsync-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/dashy-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -372,8 +374,6 @@ msg_ok "Update Successfull"
 exit
 exit
 }
 }
 
 
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/debian-v5.sh

@@ -322,6 +322,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated $APP LXC"
 msg_ok "Updated $APP LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/deconz-v5.sh

@@ -327,6 +327,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -347,8 +349,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/deluge-v5.sh

@@ -323,6 +323,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -342,8 +344,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated $APP LXC"
 msg_ok "Updated $APP LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/devuan-v5.sh

@@ -322,6 +322,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated $APP LXC"
 msg_ok "Updated $APP LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/docker-v5.sh

@@ -334,6 +334,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -352,8 +354,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated ${APP} LXC"
 msg_ok "Updated ${APP} LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/emby-v5.sh

@@ -335,6 +335,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -365,8 +367,6 @@ msg_ok "Update Successfull"
 exit
 exit
 }
 }
 
 
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/emqx-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -345,8 +347,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated ${APP} LXC"
 msg_ok "Updated ${APP} LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/esphome-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -352,8 +354,6 @@ msg_ok "Started ESPHome"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/grafana-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/grocy-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -345,8 +347,6 @@ msg_ok "Updated ${APP}"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/heimdalldashboard-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -425,8 +427,6 @@ msg_ok "Started ${APP}"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/homeassistant-core-v5.sh

@@ -329,6 +329,8 @@ function advanced_settings() {
 }
 }
 
 
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -420,8 +422,6 @@ exit
 fi
 fi
 }
 }
 
 
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/homeassistant-v5.sh

@@ -337,6 +337,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -420,8 +422,6 @@ exit
 fi
 fi
 }
 }
 
 
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/homebridge-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/homepage-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -352,8 +354,6 @@ systemctl start homepage
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/homer-v5.sh

@@ -322,6 +322,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -365,8 +367,6 @@ msg_ok "Started ${APP}"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/hyperion-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/influxdb-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/iobroker-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/jellyfin-v5.sh

@@ -337,6 +337,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -355,8 +357,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated ${APP} LXC"
 msg_ok "Updated ${APP} LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/k0s-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/kavita-v5.sh

@@ -325,6 +325,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -344,8 +346,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated $APP LXC"
 msg_ok "Updated $APP LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/keycloak-v5.sh

@@ -327,6 +327,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -347,8 +349,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/lidarr-v5.sh

@@ -322,6 +322,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated $APP LXC"
 msg_ok "Updated $APP LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/magicmirror-v5.sh

@@ -327,6 +327,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -348,8 +350,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/mariadb-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/meshcentral-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/motioneye-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -345,8 +347,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/mqtt-v5.sh

@@ -324,6 +324,8 @@ function advanced_settings() {
 }
 }
 
 
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -345,8 +347,6 @@ msg_ok "Update Successfull"
 exit
 exit
 }
 }
 
 
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/n8n-v5.sh

@@ -327,6 +327,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/navidrome-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -357,8 +359,6 @@ msg_ok "Update Successfull"
 exit
 exit
 }
 }
 
 
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/nextcloudpi-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/nginxproxymanager-v5.sh

@@ -327,6 +327,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -455,8 +457,6 @@ msg_ok "Cleaned"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/nocodb-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -349,8 +351,6 @@ msg_ok "Update Successfull"
 
 
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/node-red-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -381,8 +383,6 @@ exit
 fi
 fi
 }
 }
 
 
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/omada-v5.sh

@@ -335,6 +335,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -345,8 +347,6 @@ function install_script() {
     advanced_settings
     advanced_settings
   fi
   fi
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/omv-v5.sh

@@ -327,6 +327,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -347,8 +349,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/openhab-v5.sh

@@ -327,6 +327,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -347,8 +349,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/paperless-ngx-v5.sh

@@ -327,6 +327,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -414,8 +416,6 @@ exit
 fi
 fi
 }
 }
 
 
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/photoprism-v5.sh

@@ -325,6 +325,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -367,8 +369,6 @@ msg_ok "Started PhotoPrism"
 msg_ok "Update Successful"
 msg_ok "Update Successful"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/pihole-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/plex-v5.sh

@@ -336,6 +336,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -365,8 +367,6 @@ bash -c "$(wget -qO - https://raw.githubusercontent.com/mrworf/plexupdate/master
 exit
 exit
 fi
 fi
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/podman-homeassistant-v5.sh

@@ -330,6 +330,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -397,8 +399,6 @@ exit
 fi
 fi
 }
 }
 
 
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/podman-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/postgresql-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/prometheus-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/prowlarr-v5.sh

@@ -322,6 +322,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated $APP LXC"
 msg_ok "Updated $APP LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/radarr-v5.sh

@@ -322,6 +322,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated $APP LXC"
 msg_ok "Updated $APP LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/readarr-v5.sh

@@ -322,6 +322,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated $APP LXC"
 msg_ok "Updated $APP LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/rockylinux-v5.sh

@@ -327,6 +327,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -347,8 +349,6 @@ pacman -Sy archlinux-keyring && pacman -Su
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/sabnzbd-v5.sh

@@ -322,6 +322,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated $APP LXC"
 msg_ok "Updated $APP LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/scrypted-v5.sh

@@ -327,6 +327,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -347,8 +349,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/shinobi-v5.sh

@@ -335,6 +335,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -356,8 +358,6 @@ pm2 restart cron
 msg_ok "Updated Shinobi LXC"
 msg_ok "Updated Shinobi LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/sonarr-v5.sh

@@ -322,6 +322,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated $APP LXC"
 msg_ok "Updated $APP LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/syncthing-v5.sh

@@ -327,6 +327,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -347,8 +349,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/tdarr-v5.sh

@@ -322,6 +322,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated $APP LXC"
 msg_ok "Updated $APP LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/technitiumdns-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -408,8 +410,6 @@ fi
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/transmission-v5.sh

@@ -322,6 +322,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated ${APP} LXC"
 msg_ok "Updated ${APP} LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/trilium-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -365,8 +367,6 @@ msg_ok "Started ${APP}"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/ubuntu-v5.sh

@@ -331,6 +331,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -349,8 +351,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated ${APP} LXC"
 msg_ok "Updated ${APP} LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/umbrel-v5.sh

@@ -335,6 +335,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -353,8 +355,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated ${APP} LXC"
 msg_ok "Updated ${APP} LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/unifi-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -346,8 +348,6 @@ msg_ok "Updated ${APP}"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/uptimekuma-v5.sh

@@ -327,6 +327,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -363,8 +365,6 @@ msg_ok "Started ${APP}"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/vaultwarden-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -414,8 +416,6 @@ exit
 fi
 fi
 }
 }
 
 
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/whisparr-v5.sh

@@ -323,6 +323,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -342,8 +344,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated $APP LXC"
 msg_ok "Updated $APP LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/whoogle-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -345,8 +347,6 @@ msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/wikijs-v5.sh

@@ -327,6 +327,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -359,8 +361,6 @@ msg_ok "Started ${APP}"
 msg_ok "Update Successfull"
 msg_ok "Update Successfull"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/wireguard-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -401,8 +403,6 @@ exit
 fi
 fi
 }
 }
 
 
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/yunohost-v5.sh

@@ -322,6 +322,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -341,8 +343,6 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated $APP LXC"
 msg_ok "Updated $APP LXC"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/zigbee2mqtt-v5.sh

@@ -327,6 +327,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -392,8 +394,6 @@ start_zigbee2mqtt
 echo "Done!"
 echo "Done!"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi

+ 2 - 2
ct/zwave-js-ui-v5.sh

@@ -326,6 +326,8 @@ function advanced_settings() {
   fi
   fi
 }
 }
 function install_script() {
 function install_script() {
+ARCH_CHECK
+PVE_CHECK
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
   if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
     header_info
     header_info
     echo -e "${BL}Using Default Settings${CL}"
     echo -e "${BL}Using Default Settings${CL}"
@@ -359,8 +361,6 @@ msg_ok "Cleaned"
 msg_ok "Updated Successfully!\n"
 msg_ok "Updated Successfully!\n"
 exit
 exit
 }
 }
-ARCH_CHECK
-PVE_CHECK
 header_info
 header_info
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$VERB" == "yes" ]; then set -x; fi