From 54bf1dffb7c897bc1133074502e7c91e6e5e8f73 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 12 Aug 2022 05:25:50 -0400 Subject: [PATCH] maintenance (#420) --- ct/adguard-v4.sh | 1 + ct/daemonsync-v4.sh | 1 + ct/dashy-v4.sh | 1 + ct/debian-v4.sh | 1 + ct/deconz-v4.sh | 1 + ct/docker-v4.sh | 1 + ct/esphome-v4.sh | 1 + ct/grafana-v4.sh | 1 + ct/grocy-v4.sh | 1 + ct/heimdalldashboard-v4.sh | 1 + ct/homeassistant-v4.sh | 1 + ct/homebridge-v4.sh | 1 + ct/influxdb-v4.sh | 1 + ct/iobroker-v4.sh | 1 + ct/jellyfin-v4.sh | 1 + ct/keycloak-v4.sh | 1 + ct/magicmirror-v4.sh | 1 + ct/mariadb-v4.sh | 1 + ct/meshcentral-v4.sh | 1 + ct/motioneye-v4.sh | 1 + ct/mqtt-v4.sh | 1 + ct/n8n-v4.sh | 1 + ct/nginx-proxy-manager-v4.sh | 1 + ct/nocodb-v4.sh | 1 + ct/node-red-v4.sh | 1 + ct/omada-v4.sh | 1 + ct/openhab-v4.sh | 1 + ct/photoprism-v4.sh | 1 + ct/pihole-v4.sh | 1 + ct/plex-v4.sh | 1 + ct/podman-homeassistant-v4.sh | 1 + ct/postgresql-v4.sh | 1 + ct/prometheus-v4.sh | 1 + ct/technitiumdns-v4.sh | 1 + ct/ubuntu-v4.sh | 1 + ct/unifi-v4.sh | 1 + ct/uptimekuma-v4.sh | 1 + ct/vaultwarden-v4.sh | 1 + ct/whoogle-v4.sh | 1 + ct/wireguard-v4.sh | 1 + ct/zigbee2mqtt-v4.sh | 1 + ct/zwavejs2mqtt-v4.sh | 1 + 42 files changed, 42 insertions(+) diff --git a/ct/adguard-v4.sh b/ct/adguard-v4.sh index ad9610864..bb40f982c 100644 --- a/ct/adguard-v4.sh +++ b/ct/adguard-v4.sh @@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/daemonsync-v4.sh b/ct/daemonsync-v4.sh index f805e6ac0..3fee2a6ef 100644 --- a/ct/daemonsync-v4.sh +++ b/ct/daemonsync-v4.sh @@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/dashy-v4.sh b/ct/dashy-v4.sh index ab5bac02a..5383cf977 100644 --- a/ct/dashy-v4.sh +++ b/ct/dashy-v4.sh @@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/debian-v4.sh b/ct/debian-v4.sh index 8e2cbcabd..fb470b8af 100644 --- a/ct/debian-v4.sh +++ b/ct/debian-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/deconz-v4.sh b/ct/deconz-v4.sh index 388083aab..28db39a29 100644 --- a/ct/deconz-v4.sh +++ b/ct/deconz-v4.sh @@ -149,6 +149,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/docker-v4.sh b/ct/docker-v4.sh index 50deaa4da..d83382b71 100644 --- a/ct/docker-v4.sh +++ b/ct/docker-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/esphome-v4.sh b/ct/esphome-v4.sh index a34096349..e6488c95d 100644 --- a/ct/esphome-v4.sh +++ b/ct/esphome-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/grafana-v4.sh b/ct/grafana-v4.sh index 9ec1d5691..7ed70c2cf 100644 --- a/ct/grafana-v4.sh +++ b/ct/grafana-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/grocy-v4.sh b/ct/grocy-v4.sh index 172f92c0f..680bcc4a4 100644 --- a/ct/grocy-v4.sh +++ b/ct/grocy-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/heimdalldashboard-v4.sh b/ct/heimdalldashboard-v4.sh index 6fecd9d97..3b5c52bd3 100644 --- a/ct/heimdalldashboard-v4.sh +++ b/ct/heimdalldashboard-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/homeassistant-v4.sh b/ct/homeassistant-v4.sh index 9af2f4200..17ff5cdcf 100644 --- a/ct/homeassistant-v4.sh +++ b/ct/homeassistant-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/homebridge-v4.sh b/ct/homebridge-v4.sh index fc197eb6a..87b60dcb1 100644 --- a/ct/homebridge-v4.sh +++ b/ct/homebridge-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/influxdb-v4.sh b/ct/influxdb-v4.sh index 865c93cc7..f7b0fa7a5 100644 --- a/ct/influxdb-v4.sh +++ b/ct/influxdb-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/iobroker-v4.sh b/ct/iobroker-v4.sh index 2cf95f208..7b56f873d 100644 --- a/ct/iobroker-v4.sh +++ b/ct/iobroker-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/jellyfin-v4.sh b/ct/jellyfin-v4.sh index bf6c0d7ff..210bfdf9e 100644 --- a/ct/jellyfin-v4.sh +++ b/ct/jellyfin-v4.sh @@ -149,6 +149,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/keycloak-v4.sh b/ct/keycloak-v4.sh index 739dc010a..61954daeb 100644 --- a/ct/keycloak-v4.sh +++ b/ct/keycloak-v4.sh @@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/magicmirror-v4.sh b/ct/magicmirror-v4.sh index 237ff6772..9f81130ab 100644 --- a/ct/magicmirror-v4.sh +++ b/ct/magicmirror-v4.sh @@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/mariadb-v4.sh b/ct/mariadb-v4.sh index ceabd4489..effb77bfc 100644 --- a/ct/mariadb-v4.sh +++ b/ct/mariadb-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/meshcentral-v4.sh b/ct/meshcentral-v4.sh index fc66509e2..35ef49711 100644 --- a/ct/meshcentral-v4.sh +++ b/ct/meshcentral-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/motioneye-v4.sh b/ct/motioneye-v4.sh index 64d256181..0ce01077c 100644 --- a/ct/motioneye-v4.sh +++ b/ct/motioneye-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/mqtt-v4.sh b/ct/mqtt-v4.sh index 624297b36..01638788f 100644 --- a/ct/mqtt-v4.sh +++ b/ct/mqtt-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/n8n-v4.sh b/ct/n8n-v4.sh index 22863a449..5cdcc2868 100644 --- a/ct/n8n-v4.sh +++ b/ct/n8n-v4.sh @@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/nginx-proxy-manager-v4.sh b/ct/nginx-proxy-manager-v4.sh index 1dd6b6a7c..39ffe5213 100644 --- a/ct/nginx-proxy-manager-v4.sh +++ b/ct/nginx-proxy-manager-v4.sh @@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/nocodb-v4.sh b/ct/nocodb-v4.sh index 6b3566f15..08e6fd4b5 100644 --- a/ct/nocodb-v4.sh +++ b/ct/nocodb-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/node-red-v4.sh b/ct/node-red-v4.sh index f79341dfc..04aba883b 100644 --- a/ct/node-red-v4.sh +++ b/ct/node-red-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/omada-v4.sh b/ct/omada-v4.sh index 9c1210604..6236796c6 100644 --- a/ct/omada-v4.sh +++ b/ct/omada-v4.sh @@ -149,6 +149,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/openhab-v4.sh b/ct/openhab-v4.sh index ae186e7d3..128a02237 100644 --- a/ct/openhab-v4.sh +++ b/ct/openhab-v4.sh @@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/photoprism-v4.sh b/ct/photoprism-v4.sh index 41ed38cb5..9ffc93991 100644 --- a/ct/photoprism-v4.sh +++ b/ct/photoprism-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/pihole-v4.sh b/ct/pihole-v4.sh index 6fbfa78a9..60dd7c256 100644 --- a/ct/pihole-v4.sh +++ b/ct/pihole-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/plex-v4.sh b/ct/plex-v4.sh index cde23da87..9c43b82c4 100644 --- a/ct/plex-v4.sh +++ b/ct/plex-v4.sh @@ -149,6 +149,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/podman-homeassistant-v4.sh b/ct/podman-homeassistant-v4.sh index 79f851a61..6c97d5d8f 100644 --- a/ct/podman-homeassistant-v4.sh +++ b/ct/podman-homeassistant-v4.sh @@ -150,6 +150,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/postgresql-v4.sh b/ct/postgresql-v4.sh index 33f06931d..7d8c4d13c 100644 --- a/ct/postgresql-v4.sh +++ b/ct/postgresql-v4.sh @@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/prometheus-v4.sh b/ct/prometheus-v4.sh index 13ae0854b..554e531fc 100644 --- a/ct/prometheus-v4.sh +++ b/ct/prometheus-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/technitiumdns-v4.sh b/ct/technitiumdns-v4.sh index 061ef6b2b..fa20dafcb 100644 --- a/ct/technitiumdns-v4.sh +++ b/ct/technitiumdns-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/ubuntu-v4.sh b/ct/ubuntu-v4.sh index fd4c3077e..8df0e0f47 100644 --- a/ct/ubuntu-v4.sh +++ b/ct/ubuntu-v4.sh @@ -149,6 +149,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/unifi-v4.sh b/ct/unifi-v4.sh index f7cea5c78..71f3ac519 100644 --- a/ct/unifi-v4.sh +++ b/ct/unifi-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/uptimekuma-v4.sh b/ct/uptimekuma-v4.sh index 8569b3920..3a806bffa 100644 --- a/ct/uptimekuma-v4.sh +++ b/ct/uptimekuma-v4.sh @@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/vaultwarden-v4.sh b/ct/vaultwarden-v4.sh index f82d066fe..fa33cb7b9 100644 --- a/ct/vaultwarden-v4.sh +++ b/ct/vaultwarden-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/whoogle-v4.sh b/ct/whoogle-v4.sh index bf0f9b9ea..f5dabd3ef 100644 --- a/ct/whoogle-v4.sh +++ b/ct/whoogle-v4.sh @@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/wireguard-v4.sh b/ct/wireguard-v4.sh index f63f5202b..6e2e92821 100644 --- a/ct/wireguard-v4.sh +++ b/ct/wireguard-v4.sh @@ -148,6 +148,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/zigbee2mqtt-v4.sh b/ct/zigbee2mqtt-v4.sh index 0a8e837e5..2c5662e20 100644 --- a/ct/zigbee2mqtt-v4.sh +++ b/ct/zigbee2mqtt-v4.sh @@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi diff --git a/ct/zwavejs2mqtt-v4.sh b/ct/zwavejs2mqtt-v4.sh index 9c7328187..9854db8ef 100644 --- a/ct/zwavejs2mqtt-v4.sh +++ b/ct/zwavejs2mqtt-v4.sh @@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI exitstatus=$? if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}" + if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi; else exit fi