From 0e1a3ae998a146990bd94ce706d62796b9241ac3 Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 7 Mar 2023 12:09:28 -0500 Subject: [PATCH] set time zone (#1131) Retrieve the time zone from Proxmox and configure the container to use the same time zone --- ct/adguard-v5.sh | 4 +++- ct/alpine-v5.sh | 4 +++- ct/alpine-vaultwarden-v5.sh | 4 +++- ct/archlinux-v5.sh | 4 +++- ct/audiobookshelf-v5.sh | 4 +++- ct/autobrr-v5.sh | 4 +++- ct/blocky-v5.sh | 4 +++- ct/casaos-v5.sh | 1 + ct/changedetection-v5.sh | 4 +++- ct/cronicle-v5.sh | 1 + ct/daemonsync-v5.sh | 4 +++- ct/dashy-v5.sh | 4 +++- ct/debian-v5.sh | 4 +++- ct/deconz-v5.sh | 4 +++- ct/deluge-v5.sh | 4 +++- ct/devuan-v5.sh | 4 +++- ct/docker-v5.sh | 1 + ct/emby-v5.sh | 4 +++- ct/emqx-v5.sh | 4 +++- ct/esphome-v5.sh | 4 +++- ct/go2rtc-v5.sh | 4 +++- ct/grafana-v5.sh | 4 +++- ct/grocy-v5.sh | 4 +++- ct/heimdalldashboard-v5.sh | 4 +++- ct/homeassistant-core-v5.sh | 4 +++- ct/homeassistant-v5.sh | 1 + ct/homebridge-v5.sh | 4 +++- ct/homepage-v5.sh | 4 +++- ct/homer-v5.sh | 4 +++- ct/hyperion-v5.sh | 4 +++- ct/influxdb-v5.sh | 4 +++- ct/iobroker-v5.sh | 4 +++- ct/jackett-v5.sh | 4 +++- ct/jellyfin-v5.sh | 4 +++- ct/k0s-v5.sh | 4 +++- ct/kavita-v5.sh | 4 +++- ct/keycloak-v5.sh | 4 +++- ct/lidarr-v5.sh | 4 +++- ct/magicmirror-v5.sh | 4 +++- ct/mariadb-v5.sh | 4 +++- ct/meshcentral-v5.sh | 4 +++- ct/motioneye-v5.sh | 4 +++- ct/mqtt-v5.sh | 4 +++- ct/n8n-v5.sh | 4 +++- ct/navidrome-v5.sh | 4 +++- ct/nextcloudpi-v5.sh | 4 +++- ct/nginxproxymanager-v5.sh | 4 +++- ct/nocodb-v5.sh | 4 +++- ct/node-red-v5.sh | 4 +++- ct/omada-v5.sh | 4 +++- ct/omv-v5.sh | 4 +++- ct/openhab-v5.sh | 4 +++- ct/paperless-ngx-v5.sh | 4 +++- ct/photoprism-v5.sh | 4 +++- ct/pihole-v5.sh | 4 +++- ct/plex-v5.sh | 4 +++- ct/podman-homeassistant-v5.sh | 4 +++- ct/podman-v5.sh | 4 +++- ct/postgresql-v5.sh | 4 +++- ct/prometheus-v5.sh | 4 +++- ct/prowlarr-v5.sh | 4 +++- ct/qbittorrent-v5.sh | 4 +++- ct/radarr-v5.sh | 4 +++- ct/readarr-v5.sh | 4 +++- ct/rockylinux-v5.sh | 4 +++- ct/rstptoweb-v5.sh | 4 +++- ct/sabnzbd-v5.sh | 4 +++- ct/scrypted-v5.sh | 4 +++- ct/shinobi-v5.sh | 4 +++- ct/sonarr-v5.sh | 4 +++- ct/syncthing-v5.sh | 4 +++- ct/tdarr-v5.sh | 4 +++- ct/technitiumdns-v5.sh | 4 +++- ct/transmission-v5.sh | 4 +++- ct/trilium-v5.sh | 4 +++- ct/ubuntu-v5.sh | 4 +++- ct/umbrel-v5.sh | 1 + ct/unifi-v5.sh | 4 +++- ct/uptimekuma-v5.sh | 4 +++- ct/vaultwarden-v5.sh | 4 +++- ct/whisparr-v5.sh | 4 +++- ct/whoogle-v5.sh | 4 +++- ct/wikijs-v5.sh | 4 +++- ct/wireguard-v5.sh | 4 +++- ct/yunohost-v5.sh | 4 +++- ct/zigbee2mqtt-v5.sh | 4 +++- ct/zwave-js-ui-v5.sh | 4 +++- install/adguard-v5-install.sh | 1 + install/audiobookshelf-v5-install.sh | 1 + install/autobrr-v5-install.sh | 1 + install/blocky-v5-install.sh | 1 + install/casaos-v5-install.sh | 1 + install/changedetection-v5-install.sh | 1 + install/cronicle-v5-install.sh | 1 + install/daemonsync-v5-install.sh | 1 + install/dashy-v5-install.sh | 1 + install/debian-v5-install.sh | 1 + install/deconz-v5-install.sh | 1 + install/deluge-v5-install.sh | 1 + install/docker-v5-install.sh | 1 + install/emby-v5-install.sh | 1 + install/emqx-v5-install.sh | 1 + install/esphome-v5-install.sh | 1 + install/go2rtc-v5-install.sh | 1 + install/grafana-v5-install.sh | 1 + install/grocy-v5-install.sh | 1 + install/heimdalldashboard-v5-install.sh | 1 + install/homeassistant-core-v5-install.sh | 1 + install/homeassistant-v5-install.sh | 1 + install/homebridge-v5-install.sh | 1 + install/homepage-v5-install.sh | 1 + install/homer-v5-install.sh | 1 + install/hyperion-v5-install.sh | 1 + install/influxdb-v5-install.sh | 1 + install/iobroker-v5-install.sh | 1 + install/jackett-v5-install.sh | 1 + install/jellyfin-v5-install.sh | 1 + install/k0s-v5-install.sh | 1 + install/kavita-v5-install.sh | 1 + install/keycloak-v5-install.sh | 1 + install/lidarr-v5-install.sh | 1 + install/magicmirror-v5-install.sh | 1 + install/mariadb-v5-install.sh | 1 + install/meshcentral-v5-install.sh | 1 + install/motioneye-v5-install.sh | 1 + install/mqtt-v5-install.sh | 1 + install/n8n-v5-install.sh | 1 + install/navidrome-v5-install.sh | 1 + install/nextcloudpi-v5-install.sh | 1 + install/nginxproxymanager-v5-install.sh | 1 + install/nocodb-v5-install.sh | 1 + install/node-red-v5-install.sh | 1 + install/omada-v5-install.sh | 1 + install/omv-v5-install.sh | 1 + install/openhab-v5-install.sh | 1 + install/paperless-ngx-v5-install.sh | 1 + install/photoprism-v5-install.sh | 1 + install/pihole-v5-install.sh | 1 + install/plex-v5-install.sh | 1 + install/podman-homeassistant-v5-install.sh | 1 + install/podman-v5-install.sh | 1 + install/postgresql-v5-install.sh | 1 + install/prometheus-v5-install.sh | 1 + install/prowlarr-v5-install.sh | 1 + install/qbittorrent-v5-install.sh | 1 + install/radarr-v5-install.sh | 1 + install/readarr-v5-install.sh | 1 + install/rstptoweb-v5-install.sh | 1 + install/sabnzbd-v5-install.sh | 1 + install/scrypted-v5-install.sh | 1 + install/shinobi-v5-install.sh | 1 + install/sonarr-v5-install.sh | 1 + install/syncthing-v5-install.sh | 1 + install/tdarr-v5-install.sh | 1 + install/technitiumdns-v5-install.sh | 1 + install/transmission-v5-install.sh | 1 + install/trilium-v5-install.sh | 1 + install/ubuntu-v5-install.sh | 1 + install/umbrel-v5-install.sh | 1 + install/unifi-v5-install.sh | 1 + install/uptimekuma-v5-install.sh | 1 + install/vaultwarden-v5-install.sh | 1 + install/whisparr-v5-install.sh | 1 + install/whoogle-v5-install.sh | 1 + install/wikijs-v5-install.sh | 1 + install/wireguard-v5-install.sh | 1 + install/yunohost-v5-install.sh | 1 + install/zigbee2mqtt-v5-install.sh | 1 + install/zwave-js-ui-v5-install.sh | 1 + 169 files changed, 333 insertions(+), 82 deletions(-) diff --git a/ct/adguard-v5.sh b/ct/adguard-v5.sh index 3ad5b01f..32b043ef 100644 --- a/ct/adguard-v5.sh +++ b/ct/adguard-v5.sh @@ -28,6 +28,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -376,7 +377,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/alpine-v5.sh b/ct/alpine-v5.sh index d88c7153..3c42c898 100644 --- a/ct/alpine-v5.sh +++ b/ct/alpine-v5.sh @@ -28,6 +28,7 @@ var_os="alpine" var_version="3.17" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -349,7 +350,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/alpine-vaultwarden-v5.sh b/ct/alpine-vaultwarden-v5.sh index 4b0704c1..06df8c11 100644 --- a/ct/alpine-vaultwarden-v5.sh +++ b/ct/alpine-vaultwarden-v5.sh @@ -27,6 +27,7 @@ var_os="alpine" var_version="3.17" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -382,7 +383,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/archlinux-v5.sh b/ct/archlinux-v5.sh index a979ffeb..99b50c6e 100644 --- a/ct/archlinux-v5.sh +++ b/ct/archlinux-v5.sh @@ -27,6 +27,7 @@ var_os="archlinux" var_version="base" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -353,7 +354,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/audiobookshelf-v5.sh b/ct/audiobookshelf-v5.sh index 903f34b0..98128a73 100644 --- a/ct/audiobookshelf-v5.sh +++ b/ct/audiobookshelf-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -352,7 +353,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/autobrr-v5.sh b/ct/autobrr-v5.sh index 049e4585..bdb2b666 100644 --- a/ct/autobrr-v5.sh +++ b/ct/autobrr-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -368,7 +369,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/blocky-v5.sh b/ct/blocky-v5.sh index b88f4392..573e06b0 100644 --- a/ct/blocky-v5.sh +++ b/ct/blocky-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/casaos-v5.sh b/ct/casaos-v5.sh index 26f8fedb..dfe1fe4d 100644 --- a/ct/casaos-v5.sh +++ b/ct/casaos-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/changedetection-v5.sh b/ct/changedetection-v5.sh index bfc1b6d6..1ba4ed72 100644 --- a/ct/changedetection-v5.sh +++ b/ct/changedetection-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -357,7 +358,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/cronicle-v5.sh b/ct/cronicle-v5.sh index 614a20c4..ac90461a 100644 --- a/ct/cronicle-v5.sh +++ b/ct/cronicle-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/daemonsync-v5.sh b/ct/daemonsync-v5.sh index 96b9b8fb..196fe544 100644 --- a/ct/daemonsync-v5.sh +++ b/ct/daemonsync-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/dashy-v5.sh b/ct/dashy-v5.sh index 52a132c6..afd67aae 100644 --- a/ct/dashy-v5.sh +++ b/ct/dashy-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -383,7 +384,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/debian-v5.sh b/ct/debian-v5.sh index c79f61fa..278f8bb9 100644 --- a/ct/debian-v5.sh +++ b/ct/debian-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -352,7 +353,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/deconz-v5.sh b/ct/deconz-v5.sh index 56b55259..38df740b 100644 --- a/ct/deconz-v5.sh +++ b/ct/deconz-v5.sh @@ -27,6 +27,7 @@ var_os="ubuntu" var_version="20.04" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -359,7 +360,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/deluge-v5.sh b/ct/deluge-v5.sh index e8349ab1..fd515d61 100644 --- a/ct/deluge-v5.sh +++ b/ct/deluge-v5.sh @@ -28,6 +28,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/devuan-v5.sh b/ct/devuan-v5.sh index 4f7d5ea0..29ee1464 100644 --- a/ct/devuan-v5.sh +++ b/ct/devuan-v5.sh @@ -27,6 +27,7 @@ var_os="devuan" var_version="4.0" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -352,7 +353,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/docker-v5.sh b/ct/docker-v5.sh index 0afd7a11..f8bada16 100644 --- a/ct/docker-v5.sh +++ b/ct/docker-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/emby-v5.sh b/ct/emby-v5.sh index 2859c147..dd20a0b3 100644 --- a/ct/emby-v5.sh +++ b/ct/emby-v5.sh @@ -27,6 +27,7 @@ var_os="ubuntu" var_version="20.04" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -376,7 +377,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/emqx-v5.sh b/ct/emqx-v5.sh index 01b760c9..4828a5b4 100644 --- a/ct/emqx-v5.sh +++ b/ct/emqx-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -352,7 +353,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/esphome-v5.sh b/ct/esphome-v5.sh index cd8cc028..e9ca6cf2 100644 --- a/ct/esphome-v5.sh +++ b/ct/esphome-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -364,7 +365,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/go2rtc-v5.sh b/ct/go2rtc-v5.sh index 2ab170aa..3efc59bf 100644 --- a/ct/go2rtc-v5.sh +++ b/ct/go2rtc-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -352,7 +353,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/grafana-v5.sh b/ct/grafana-v5.sh index fa798d4a..f94b18e7 100644 --- a/ct/grafana-v5.sh +++ b/ct/grafana-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/grocy-v5.sh b/ct/grocy-v5.sh index c49d1c5a..2525cdb2 100644 --- a/ct/grocy-v5.sh +++ b/ct/grocy-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -357,7 +358,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/heimdalldashboard-v5.sh b/ct/heimdalldashboard-v5.sh index bca0c925..656db61a 100644 --- a/ct/heimdalldashboard-v5.sh +++ b/ct/heimdalldashboard-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -437,7 +438,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/homeassistant-core-v5.sh b/ct/homeassistant-core-v5.sh index 828d9424..40c2d5d1 100644 --- a/ct/homeassistant-core-v5.sh +++ b/ct/homeassistant-core-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -432,7 +433,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/homeassistant-v5.sh b/ct/homeassistant-v5.sh index 69a43f87..bc1614ca 100644 --- a/ct/homeassistant-v5.sh +++ b/ct/homeassistant-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/homebridge-v5.sh b/ct/homebridge-v5.sh index 8fda38e7..cf330c37 100644 --- a/ct/homebridge-v5.sh +++ b/ct/homebridge-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/homepage-v5.sh b/ct/homepage-v5.sh index 4246a5f3..8ef34ca2 100644 --- a/ct/homepage-v5.sh +++ b/ct/homepage-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -364,7 +365,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/homer-v5.sh b/ct/homer-v5.sh index c18bd377..fcf78f88 100644 --- a/ct/homer-v5.sh +++ b/ct/homer-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -381,7 +382,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/hyperion-v5.sh b/ct/hyperion-v5.sh index 77124f48..ada0c0d7 100644 --- a/ct/hyperion-v5.sh +++ b/ct/hyperion-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/influxdb-v5.sh b/ct/influxdb-v5.sh index d7b62cd4..74d8063e 100644 --- a/ct/influxdb-v5.sh +++ b/ct/influxdb-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/iobroker-v5.sh b/ct/iobroker-v5.sh index d657eeea..f022bcb4 100644 --- a/ct/iobroker-v5.sh +++ b/ct/iobroker-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/jackett-v5.sh b/ct/jackett-v5.sh index 9ee88af0..554548b5 100644 --- a/ct/jackett-v5.sh +++ b/ct/jackett-v5.sh @@ -26,6 +26,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -356,7 +357,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/jellyfin-v5.sh b/ct/jellyfin-v5.sh index d0a8cf82..5af15bc0 100644 --- a/ct/jellyfin-v5.sh +++ b/ct/jellyfin-v5.sh @@ -28,6 +28,7 @@ var_os="ubuntu" var_version="20.04" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -367,7 +368,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/k0s-v5.sh b/ct/k0s-v5.sh index 143292ca..9cf74443 100644 --- a/ct/k0s-v5.sh +++ b/ct/k0s-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/kavita-v5.sh b/ct/kavita-v5.sh index 77e3889a..d1869d7b 100644 --- a/ct/kavita-v5.sh +++ b/ct/kavita-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -357,7 +358,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/keycloak-v5.sh b/ct/keycloak-v5.sh index 11f0d9ea..8f0ebe5c 100644 --- a/ct/keycloak-v5.sh +++ b/ct/keycloak-v5.sh @@ -28,6 +28,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -359,7 +360,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/lidarr-v5.sh b/ct/lidarr-v5.sh index e4877512..0383aded 100644 --- a/ct/lidarr-v5.sh +++ b/ct/lidarr-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -357,7 +358,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/magicmirror-v5.sh b/ct/magicmirror-v5.sh index 5f8b8704..606b6b41 100644 --- a/ct/magicmirror-v5.sh +++ b/ct/magicmirror-v5.sh @@ -28,6 +28,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -360,7 +361,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/mariadb-v5.sh b/ct/mariadb-v5.sh index 7705a589..5e1dd9ab 100644 --- a/ct/mariadb-v5.sh +++ b/ct/mariadb-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/meshcentral-v5.sh b/ct/meshcentral-v5.sh index c34c5709..336e5d9f 100644 --- a/ct/meshcentral-v5.sh +++ b/ct/meshcentral-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/motioneye-v5.sh b/ct/motioneye-v5.sh index 78a5ff8b..e000822a 100644 --- a/ct/motioneye-v5.sh +++ b/ct/motioneye-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -357,7 +358,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/mqtt-v5.sh b/ct/mqtt-v5.sh index 831ea218..a43ce1b9 100644 --- a/ct/mqtt-v5.sh +++ b/ct/mqtt-v5.sh @@ -26,6 +26,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/n8n-v5.sh b/ct/n8n-v5.sh index 4e9ffc1e..cac60cdc 100644 --- a/ct/n8n-v5.sh +++ b/ct/n8n-v5.sh @@ -28,6 +28,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/navidrome-v5.sh b/ct/navidrome-v5.sh index 8ad6a7d0..4cb57222 100644 --- a/ct/navidrome-v5.sh +++ b/ct/navidrome-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -368,7 +369,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/nextcloudpi-v5.sh b/ct/nextcloudpi-v5.sh index 2832dfd5..1e663eaa 100644 --- a/ct/nextcloudpi-v5.sh +++ b/ct/nextcloudpi-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/nginxproxymanager-v5.sh b/ct/nginxproxymanager-v5.sh index 3d1be04b..71d7c8e6 100644 --- a/ct/nginxproxymanager-v5.sh +++ b/ct/nginxproxymanager-v5.sh @@ -28,6 +28,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -467,7 +468,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/nocodb-v5.sh b/ct/nocodb-v5.sh index 7bce9820..af343280 100644 --- a/ct/nocodb-v5.sh +++ b/ct/nocodb-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -360,7 +361,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/node-red-v5.sh b/ct/node-red-v5.sh index 934d59a3..7051fbf2 100644 --- a/ct/node-red-v5.sh +++ b/ct/node-red-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -392,7 +393,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/omada-v5.sh b/ct/omada-v5.sh index 929591ec..1f7b2c6d 100644 --- a/ct/omada-v5.sh +++ b/ct/omada-v5.sh @@ -27,6 +27,7 @@ var_os="ubuntu" var_version="20.04" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -367,7 +368,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/omv-v5.sh b/ct/omv-v5.sh index 544f073c..f98708b7 100644 --- a/ct/omv-v5.sh +++ b/ct/omv-v5.sh @@ -28,6 +28,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -359,7 +360,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/openhab-v5.sh b/ct/openhab-v5.sh index 74d31c86..a21c2b72 100644 --- a/ct/openhab-v5.sh +++ b/ct/openhab-v5.sh @@ -28,6 +28,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -359,7 +360,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/paperless-ngx-v5.sh b/ct/paperless-ngx-v5.sh index e11ba30b..1f0d2ce0 100644 --- a/ct/paperless-ngx-v5.sh +++ b/ct/paperless-ngx-v5.sh @@ -28,6 +28,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -425,7 +426,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/photoprism-v5.sh b/ct/photoprism-v5.sh index ecc2399f..21de9379 100644 --- a/ct/photoprism-v5.sh +++ b/ct/photoprism-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -380,7 +381,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/pihole-v5.sh b/ct/pihole-v5.sh index d22efe08..2838c254 100644 --- a/ct/pihole-v5.sh +++ b/ct/pihole-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/plex-v5.sh b/ct/plex-v5.sh index 5f0cae8a..77f384ed 100644 --- a/ct/plex-v5.sh +++ b/ct/plex-v5.sh @@ -27,6 +27,7 @@ var_os="ubuntu" var_version="20.04" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -377,7 +378,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/podman-homeassistant-v5.sh b/ct/podman-homeassistant-v5.sh index e03bca6a..a7beabb3 100644 --- a/ct/podman-homeassistant-v5.sh +++ b/ct/podman-homeassistant-v5.sh @@ -31,6 +31,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -408,7 +409,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/podman-v5.sh b/ct/podman-v5.sh index 93d108b9..05cd6537 100644 --- a/ct/podman-v5.sh +++ b/ct/podman-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/postgresql-v5.sh b/ct/postgresql-v5.sh index 3c052a86..91bf1f6a 100644 --- a/ct/postgresql-v5.sh +++ b/ct/postgresql-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/prometheus-v5.sh b/ct/prometheus-v5.sh index bf6a2cf6..a55e74cc 100644 --- a/ct/prometheus-v5.sh +++ b/ct/prometheus-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/prowlarr-v5.sh b/ct/prowlarr-v5.sh index d7ffa755..c23b23a5 100644 --- a/ct/prowlarr-v5.sh +++ b/ct/prowlarr-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -357,7 +358,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/qbittorrent-v5.sh b/ct/qbittorrent-v5.sh index 0af5fe13..ef84f26a 100644 --- a/ct/qbittorrent-v5.sh +++ b/ct/qbittorrent-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -357,7 +358,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/radarr-v5.sh b/ct/radarr-v5.sh index 815cc4fd..77559143 100644 --- a/ct/radarr-v5.sh +++ b/ct/radarr-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -357,7 +358,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/readarr-v5.sh b/ct/readarr-v5.sh index 769e1020..7ab40901 100644 --- a/ct/readarr-v5.sh +++ b/ct/readarr-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -357,7 +358,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/rockylinux-v5.sh b/ct/rockylinux-v5.sh index ea9c9550..ddd6517b 100644 --- a/ct/rockylinux-v5.sh +++ b/ct/rockylinux-v5.sh @@ -28,6 +28,7 @@ var_os="rockylinux" var_version="9" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/rstptoweb-v5.sh b/ct/rstptoweb-v5.sh index d067026b..670fbe2d 100644 --- a/ct/rstptoweb-v5.sh +++ b/ct/rstptoweb-v5.sh @@ -26,6 +26,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -351,7 +352,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/sabnzbd-v5.sh b/ct/sabnzbd-v5.sh index e923ad36..3076ab52 100644 --- a/ct/sabnzbd-v5.sh +++ b/ct/sabnzbd-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -357,7 +358,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/scrypted-v5.sh b/ct/scrypted-v5.sh index 6b90147f..aff8cf7b 100644 --- a/ct/scrypted-v5.sh +++ b/ct/scrypted-v5.sh @@ -28,6 +28,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -359,7 +360,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/shinobi-v5.sh b/ct/shinobi-v5.sh index 14b4850c..9d854a57 100644 --- a/ct/shinobi-v5.sh +++ b/ct/shinobi-v5.sh @@ -27,6 +27,7 @@ var_os="ubuntu" var_version="22.04" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -368,7 +369,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/sonarr-v5.sh b/ct/sonarr-v5.sh index d948ab5b..608ce718 100644 --- a/ct/sonarr-v5.sh +++ b/ct/sonarr-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -357,7 +358,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/syncthing-v5.sh b/ct/syncthing-v5.sh index 2b0e83a7..4997662a 100644 --- a/ct/syncthing-v5.sh +++ b/ct/syncthing-v5.sh @@ -28,6 +28,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -359,7 +360,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/tdarr-v5.sh b/ct/tdarr-v5.sh index 5813b5a6..eb311112 100644 --- a/ct/tdarr-v5.sh +++ b/ct/tdarr-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -357,7 +358,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/technitiumdns-v5.sh b/ct/technitiumdns-v5.sh index 8fc9d666..e05f3be3 100644 --- a/ct/technitiumdns-v5.sh +++ b/ct/technitiumdns-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -367,7 +368,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/transmission-v5.sh b/ct/transmission-v5.sh index 0ee5d068..b1f3aab6 100644 --- a/ct/transmission-v5.sh +++ b/ct/transmission-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -357,7 +358,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/trilium-v5.sh b/ct/trilium-v5.sh index 62a54f47..28b04449 100644 --- a/ct/trilium-v5.sh +++ b/ct/trilium-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -377,7 +378,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/ubuntu-v5.sh b/ct/ubuntu-v5.sh index f283066b..7319b8f2 100644 --- a/ct/ubuntu-v5.sh +++ b/ct/ubuntu-v5.sh @@ -27,6 +27,7 @@ var_os="ubuntu" var_version="22.04" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -360,7 +361,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/umbrel-v5.sh b/ct/umbrel-v5.sh index e70695d1..d7640ab9 100644 --- a/ct/umbrel-v5.sh +++ b/ct/umbrel-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/unifi-v5.sh b/ct/unifi-v5.sh index 2e2bce79..b91ad8c2 100644 --- a/ct/unifi-v5.sh +++ b/ct/unifi-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/uptimekuma-v5.sh b/ct/uptimekuma-v5.sh index a7d24e82..7659983d 100644 --- a/ct/uptimekuma-v5.sh +++ b/ct/uptimekuma-v5.sh @@ -28,6 +28,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -375,7 +376,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/vaultwarden-v5.sh b/ct/vaultwarden-v5.sh index d3fd4f29..135bbe1b 100644 --- a/ct/vaultwarden-v5.sh +++ b/ct/vaultwarden-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -426,7 +427,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/whisparr-v5.sh b/ct/whisparr-v5.sh index 7a3beee5..a31ac005 100644 --- a/ct/whisparr-v5.sh +++ b/ct/whisparr-v5.sh @@ -28,6 +28,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -358,7 +359,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/whoogle-v5.sh b/ct/whoogle-v5.sh index 6d4d9093..4058cbe1 100644 --- a/ct/whoogle-v5.sh +++ b/ct/whoogle-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -357,7 +358,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/wikijs-v5.sh b/ct/wikijs-v5.sh index 2baebf4a..50da63bd 100644 --- a/ct/wikijs-v5.sh +++ b/ct/wikijs-v5.sh @@ -28,6 +28,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -380,7 +381,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/wireguard-v5.sh b/ct/wireguard-v5.sh index 23d3d675..4522791f 100644 --- a/ct/wireguard-v5.sh +++ b/ct/wireguard-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -412,7 +413,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/yunohost-v5.sh b/ct/yunohost-v5.sh index c5b72d48..bf8f1798 100644 --- a/ct/yunohost-v5.sh +++ b/ct/yunohost-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -357,7 +358,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/zigbee2mqtt-v5.sh b/ct/zigbee2mqtt-v5.sh index fc238d95..460c4980 100644 --- a/ct/zigbee2mqtt-v5.sh +++ b/ct/zigbee2mqtt-v5.sh @@ -28,6 +28,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -404,7 +405,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/ct/zwave-js-ui-v5.sh b/ct/zwave-js-ui-v5.sh index a56356b4..23e88c38 100644 --- a/ct/zwave-js-ui-v5.sh +++ b/ct/zwave-js-ui-v5.sh @@ -27,6 +27,7 @@ var_os="debian" var_version="11" NSAPP=$(echo ${APP,,} | tr -d ' ') var_install="${NSAPP}-v5-install" +timezone=$(timedatectl | grep "Time zone" | awk '{print $3}') INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") @@ -371,7 +372,8 @@ else FEATURES="nesting=1" fi TEMP_DIR=$(mktemp -d) -pushd $TEMP_DIR >/dev/null +pushd $TEMP_DIR >/dev/null +export tz=$timezone export DISABLEIPV6=$DISABLEIP6 export APPLICATION=$APP export VERBOSE=$VERB diff --git a/install/adguard-v5-install.sh b/install/adguard-v5-install.sh index 27f82a04..ac6bf8fd 100644 --- a/install/adguard-v5-install.sh +++ b/install/adguard-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/audiobookshelf-v5-install.sh b/install/audiobookshelf-v5-install.sh index 0f9018d4..c24e600c 100644 --- a/install/audiobookshelf-v5-install.sh +++ b/install/audiobookshelf-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/autobrr-v5-install.sh b/install/autobrr-v5-install.sh index 094d2d9d..7446e75e 100644 --- a/install/autobrr-v5-install.sh +++ b/install/autobrr-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/blocky-v5-install.sh b/install/blocky-v5-install.sh index 565fb004..275f5e09 100644 --- a/install/blocky-v5-install.sh +++ b/install/blocky-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/casaos-v5-install.sh b/install/casaos-v5-install.sh index e2bec076..efda281c 100644 --- a/install/casaos-v5-install.sh +++ b/install/casaos-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/changedetection-v5-install.sh b/install/changedetection-v5-install.sh index 5a582c98..a400759a 100644 --- a/install/changedetection-v5-install.sh +++ b/install/changedetection-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/cronicle-v5-install.sh b/install/cronicle-v5-install.sh index 785cd1bc..daba7eb7 100644 --- a/install/cronicle-v5-install.sh +++ b/install/cronicle-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/daemonsync-v5-install.sh b/install/daemonsync-v5-install.sh index d4f703ee..f92e786c 100644 --- a/install/daemonsync-v5-install.sh +++ b/install/daemonsync-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/dashy-v5-install.sh b/install/dashy-v5-install.sh index a4aa247f..cec3a16f 100644 --- a/install/dashy-v5-install.sh +++ b/install/dashy-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/debian-v5-install.sh b/install/debian-v5-install.sh index 03b42c31..53f5a875 100644 --- a/install/debian-v5-install.sh +++ b/install/debian-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/deconz-v5-install.sh b/install/deconz-v5-install.sh index 7dee64a5..bdef4d6c 100644 --- a/install/deconz-v5-install.sh +++ b/install/deconz-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/deluge-v5-install.sh b/install/deluge-v5-install.sh index 9164cce2..42325e53 100644 --- a/install/deluge-v5-install.sh +++ b/install/deluge-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/docker-v5-install.sh b/install/docker-v5-install.sh index dbd591e7..906534e2 100644 --- a/install/docker-v5-install.sh +++ b/install/docker-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/emby-v5-install.sh b/install/emby-v5-install.sh index 9129f141..41bedf3d 100644 --- a/install/emby-v5-install.sh +++ b/install/emby-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/emqx-v5-install.sh b/install/emqx-v5-install.sh index d63e51b7..8c791710 100644 --- a/install/emqx-v5-install.sh +++ b/install/emqx-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/esphome-v5-install.sh b/install/esphome-v5-install.sh index d18f2873..d653ee25 100644 --- a/install/esphome-v5-install.sh +++ b/install/esphome-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/go2rtc-v5-install.sh b/install/go2rtc-v5-install.sh index 9cc1f08e..51d6831f 100644 --- a/install/go2rtc-v5-install.sh +++ b/install/go2rtc-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/grafana-v5-install.sh b/install/grafana-v5-install.sh index 7229d99b..f09c81a7 100644 --- a/install/grafana-v5-install.sh +++ b/install/grafana-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/grocy-v5-install.sh b/install/grocy-v5-install.sh index 9bebd2fe..92242165 100644 --- a/install/grocy-v5-install.sh +++ b/install/grocy-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/heimdalldashboard-v5-install.sh b/install/heimdalldashboard-v5-install.sh index 9f132699..f287b687 100644 --- a/install/heimdalldashboard-v5-install.sh +++ b/install/heimdalldashboard-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/homeassistant-core-v5-install.sh b/install/homeassistant-core-v5-install.sh index 03b48123..a1190ce0 100644 --- a/install/homeassistant-core-v5-install.sh +++ b/install/homeassistant-core-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/homeassistant-v5-install.sh b/install/homeassistant-v5-install.sh index be302148..5f8fe843 100644 --- a/install/homeassistant-v5-install.sh +++ b/install/homeassistant-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/homebridge-v5-install.sh b/install/homebridge-v5-install.sh index 5d640d5f..b150c163 100644 --- a/install/homebridge-v5-install.sh +++ b/install/homebridge-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/homepage-v5-install.sh b/install/homepage-v5-install.sh index e3efeb37..0b261e03 100644 --- a/install/homepage-v5-install.sh +++ b/install/homepage-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/homer-v5-install.sh b/install/homer-v5-install.sh index 48193db5..23831e78 100644 --- a/install/homer-v5-install.sh +++ b/install/homer-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/hyperion-v5-install.sh b/install/hyperion-v5-install.sh index 5d34310d..580817b7 100644 --- a/install/hyperion-v5-install.sh +++ b/install/hyperion-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/influxdb-v5-install.sh b/install/influxdb-v5-install.sh index 5cafffaa..4280456a 100644 --- a/install/influxdb-v5-install.sh +++ b/install/influxdb-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/iobroker-v5-install.sh b/install/iobroker-v5-install.sh index 1b658cde..6f9cda96 100644 --- a/install/iobroker-v5-install.sh +++ b/install/iobroker-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/jackett-v5-install.sh b/install/jackett-v5-install.sh index fd323953..9f257f5b 100644 --- a/install/jackett-v5-install.sh +++ b/install/jackett-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/jellyfin-v5-install.sh b/install/jellyfin-v5-install.sh index 5b386716..8faa5d27 100644 --- a/install/jellyfin-v5-install.sh +++ b/install/jellyfin-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/k0s-v5-install.sh b/install/k0s-v5-install.sh index c64cc71d..138d51ce 100644 --- a/install/k0s-v5-install.sh +++ b/install/k0s-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/kavita-v5-install.sh b/install/kavita-v5-install.sh index 19c4c8b4..76fdf021 100644 --- a/install/kavita-v5-install.sh +++ b/install/kavita-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/keycloak-v5-install.sh b/install/keycloak-v5-install.sh index f272ec54..6858e15b 100644 --- a/install/keycloak-v5-install.sh +++ b/install/keycloak-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/lidarr-v5-install.sh b/install/lidarr-v5-install.sh index dfbda183..aa990c17 100644 --- a/install/lidarr-v5-install.sh +++ b/install/lidarr-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/magicmirror-v5-install.sh b/install/magicmirror-v5-install.sh index 85845a72..3dbaf0a6 100644 --- a/install/magicmirror-v5-install.sh +++ b/install/magicmirror-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/mariadb-v5-install.sh b/install/mariadb-v5-install.sh index 25468b0a..db5eb164 100644 --- a/install/mariadb-v5-install.sh +++ b/install/mariadb-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/meshcentral-v5-install.sh b/install/meshcentral-v5-install.sh index c001071e..7861a8fd 100644 --- a/install/meshcentral-v5-install.sh +++ b/install/meshcentral-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/motioneye-v5-install.sh b/install/motioneye-v5-install.sh index 97a8efbb..f112d854 100644 --- a/install/motioneye-v5-install.sh +++ b/install/motioneye-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/mqtt-v5-install.sh b/install/mqtt-v5-install.sh index 9f2960b7..3be1d8a0 100644 --- a/install/mqtt-v5-install.sh +++ b/install/mqtt-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/n8n-v5-install.sh b/install/n8n-v5-install.sh index 31446ae5..fbafc2db 100644 --- a/install/n8n-v5-install.sh +++ b/install/n8n-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/navidrome-v5-install.sh b/install/navidrome-v5-install.sh index 732a7951..c6a7f04e 100644 --- a/install/navidrome-v5-install.sh +++ b/install/navidrome-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/nextcloudpi-v5-install.sh b/install/nextcloudpi-v5-install.sh index b845b2f8..8d25928a 100644 --- a/install/nextcloudpi-v5-install.sh +++ b/install/nextcloudpi-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/nginxproxymanager-v5-install.sh b/install/nginxproxymanager-v5-install.sh index 1973553b..960bb71f 100644 --- a/install/nginxproxymanager-v5-install.sh +++ b/install/nginxproxymanager-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/nocodb-v5-install.sh b/install/nocodb-v5-install.sh index 33377c85..270436a8 100644 --- a/install/nocodb-v5-install.sh +++ b/install/nocodb-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/node-red-v5-install.sh b/install/node-red-v5-install.sh index 9f59d1b8..fcc4c371 100644 --- a/install/node-red-v5-install.sh +++ b/install/node-red-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/omada-v5-install.sh b/install/omada-v5-install.sh index c7edf4f4..ad68dec6 100644 --- a/install/omada-v5-install.sh +++ b/install/omada-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/omv-v5-install.sh b/install/omv-v5-install.sh index 8fc871f8..d9169e75 100644 --- a/install/omv-v5-install.sh +++ b/install/omv-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/openhab-v5-install.sh b/install/openhab-v5-install.sh index 6e181437..30b9f61d 100644 --- a/install/openhab-v5-install.sh +++ b/install/openhab-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/paperless-ngx-v5-install.sh b/install/paperless-ngx-v5-install.sh index 6279188b..c48908f2 100644 --- a/install/paperless-ngx-v5-install.sh +++ b/install/paperless-ngx-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/photoprism-v5-install.sh b/install/photoprism-v5-install.sh index 39373a05..b9c0782f 100644 --- a/install/photoprism-v5-install.sh +++ b/install/photoprism-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/pihole-v5-install.sh b/install/pihole-v5-install.sh index a472ab55..5976ac9e 100644 --- a/install/pihole-v5-install.sh +++ b/install/pihole-v5-install.sh @@ -48,6 +48,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/plex-v5-install.sh b/install/plex-v5-install.sh index 41a071c7..b15b104c 100644 --- a/install/plex-v5-install.sh +++ b/install/plex-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/podman-homeassistant-v5-install.sh b/install/podman-homeassistant-v5-install.sh index 8d768fcb..59918724 100644 --- a/install/podman-homeassistant-v5-install.sh +++ b/install/podman-homeassistant-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/podman-v5-install.sh b/install/podman-v5-install.sh index d0f315ab..89114aba 100644 --- a/install/podman-v5-install.sh +++ b/install/podman-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/postgresql-v5-install.sh b/install/postgresql-v5-install.sh index 810dca0a..3c98caef 100644 --- a/install/postgresql-v5-install.sh +++ b/install/postgresql-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/prometheus-v5-install.sh b/install/prometheus-v5-install.sh index 71274e88..36ad41fc 100644 --- a/install/prometheus-v5-install.sh +++ b/install/prometheus-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/prowlarr-v5-install.sh b/install/prowlarr-v5-install.sh index 41c47fa4..0877c3e9 100644 --- a/install/prowlarr-v5-install.sh +++ b/install/prowlarr-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/qbittorrent-v5-install.sh b/install/qbittorrent-v5-install.sh index 3a7d4edb..7569b0fd 100644 --- a/install/qbittorrent-v5-install.sh +++ b/install/qbittorrent-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/radarr-v5-install.sh b/install/radarr-v5-install.sh index e7a01987..7344a496 100644 --- a/install/radarr-v5-install.sh +++ b/install/radarr-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/readarr-v5-install.sh b/install/readarr-v5-install.sh index 4a8d6b22..c1fb8f85 100644 --- a/install/readarr-v5-install.sh +++ b/install/readarr-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/rstptoweb-v5-install.sh b/install/rstptoweb-v5-install.sh index 227c0d7a..c0d51ac9 100644 --- a/install/rstptoweb-v5-install.sh +++ b/install/rstptoweb-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/sabnzbd-v5-install.sh b/install/sabnzbd-v5-install.sh index ee5a2fb0..9434927a 100644 --- a/install/sabnzbd-v5-install.sh +++ b/install/sabnzbd-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/scrypted-v5-install.sh b/install/scrypted-v5-install.sh index a5546fe3..42080a83 100644 --- a/install/scrypted-v5-install.sh +++ b/install/scrypted-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/shinobi-v5-install.sh b/install/shinobi-v5-install.sh index 45a8cc09..d0f77c28 100644 --- a/install/shinobi-v5-install.sh +++ b/install/shinobi-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/sonarr-v5-install.sh b/install/sonarr-v5-install.sh index 8b1eeda9..fb878c3a 100644 --- a/install/sonarr-v5-install.sh +++ b/install/sonarr-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/syncthing-v5-install.sh b/install/syncthing-v5-install.sh index 74911940..bc6edfbc 100644 --- a/install/syncthing-v5-install.sh +++ b/install/syncthing-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/tdarr-v5-install.sh b/install/tdarr-v5-install.sh index e5e9cdb5..2a3ef8c4 100644 --- a/install/tdarr-v5-install.sh +++ b/install/tdarr-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/technitiumdns-v5-install.sh b/install/technitiumdns-v5-install.sh index ab510388..4513b3db 100644 --- a/install/technitiumdns-v5-install.sh +++ b/install/technitiumdns-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/transmission-v5-install.sh b/install/transmission-v5-install.sh index 0f8706fe..e6fa9751 100644 --- a/install/transmission-v5-install.sh +++ b/install/transmission-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/trilium-v5-install.sh b/install/trilium-v5-install.sh index 3c3cb8a1..ccb0f1af 100644 --- a/install/trilium-v5-install.sh +++ b/install/trilium-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/ubuntu-v5-install.sh b/install/ubuntu-v5-install.sh index 21202a71..c77cadc8 100644 --- a/install/ubuntu-v5-install.sh +++ b/install/ubuntu-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/umbrel-v5-install.sh b/install/umbrel-v5-install.sh index 6800d9ed..d6331941 100644 --- a/install/umbrel-v5-install.sh +++ b/install/umbrel-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/unifi-v5-install.sh b/install/unifi-v5-install.sh index 84f8cdfb..54d9f90a 100644 --- a/install/unifi-v5-install.sh +++ b/install/unifi-v5-install.sh @@ -48,6 +48,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/uptimekuma-v5-install.sh b/install/uptimekuma-v5-install.sh index 6ba658ac..6a175b1c 100644 --- a/install/uptimekuma-v5-install.sh +++ b/install/uptimekuma-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/vaultwarden-v5-install.sh b/install/vaultwarden-v5-install.sh index 21c3f47d..0da9f03c 100644 --- a/install/vaultwarden-v5-install.sh +++ b/install/vaultwarden-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/whisparr-v5-install.sh b/install/whisparr-v5-install.sh index 360d9ab7..204074cf 100644 --- a/install/whisparr-v5-install.sh +++ b/install/whisparr-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/whoogle-v5-install.sh b/install/whoogle-v5-install.sh index 2aa1607e..40eec029 100644 --- a/install/whoogle-v5-install.sh +++ b/install/whoogle-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/wikijs-v5-install.sh b/install/wikijs-v5-install.sh index 4f5dd643..09e417c6 100644 --- a/install/wikijs-v5-install.sh +++ b/install/wikijs-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/wireguard-v5-install.sh b/install/wireguard-v5-install.sh index 4c5d5c11..87e9bf33 100644 --- a/install/wireguard-v5-install.sh +++ b/install/wireguard-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/yunohost-v5-install.sh b/install/yunohost-v5-install.sh index 50cf173a..19e7869d 100644 --- a/install/yunohost-v5-install.sh +++ b/install/yunohost-v5-install.sh @@ -46,6 +46,7 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/zigbee2mqtt-v5-install.sh b/install/zigbee2mqtt-v5-install.sh index e9bf9173..a7a38c91 100644 --- a/install/zigbee2mqtt-v5-install.sh +++ b/install/zigbee2mqtt-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break diff --git a/install/zwave-js-ui-v5-install.sh b/install/zwave-js-ui-v5-install.sh index d63fe7fc..83e8d30a 100644 --- a/install/zwave-js-ui-v5-install.sh +++ b/install/zwave-js-ui-v5-install.sh @@ -47,6 +47,7 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null +timedatectl set-timezone $tz for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break