diff --git a/ct/adguard-v5.sh b/ct/adguard-v5.sh index 32b043ef..b642f680 100644 --- a/ct/adguard-v5.sh +++ b/ct/adguard-v5.sh @@ -28,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/alpine-v5.sh b/ct/alpine-v5.sh index 3c42c898..349f840f 100644 --- a/ct/alpine-v5.sh +++ b/ct/alpine-v5.sh @@ -28,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/alpine-vaultwarden-v5.sh b/ct/alpine-vaultwarden-v5.sh index 06df8c11..37f11493 100644 --- a/ct/alpine-vaultwarden-v5.sh +++ b/ct/alpine-vaultwarden-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/archlinux-v5.sh b/ct/archlinux-v5.sh index 99b50c6e..69b82639 100644 --- a/ct/archlinux-v5.sh +++ b/ct/archlinux-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/audiobookshelf-v5.sh b/ct/audiobookshelf-v5.sh index 98128a73..a9790f62 100644 --- a/ct/audiobookshelf-v5.sh +++ b/ct/audiobookshelf-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/autobrr-v5.sh b/ct/autobrr-v5.sh index bdb2b666..36f1d9b2 100644 --- a/ct/autobrr-v5.sh +++ b/ct/autobrr-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/blocky-v5.sh b/ct/blocky-v5.sh index 573e06b0..cbbb49ff 100644 --- a/ct/blocky-v5.sh +++ b/ct/blocky-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/casaos-v5.sh b/ct/casaos-v5.sh index 1e59b4ae..ee8ab94a 100644 --- a/ct/casaos-v5.sh +++ b/ct/casaos-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/changedetection-v5.sh b/ct/changedetection-v5.sh index 1ba4ed72..7283f909 100644 --- a/ct/changedetection-v5.sh +++ b/ct/changedetection-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/cronicle-v5.sh b/ct/cronicle-v5.sh index ac90461a..06918b55 100644 --- a/ct/cronicle-v5.sh +++ b/ct/cronicle-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/daemonsync-v5.sh b/ct/daemonsync-v5.sh index 196fe544..aa53ad77 100644 --- a/ct/daemonsync-v5.sh +++ b/ct/daemonsync-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/dashy-v5.sh b/ct/dashy-v5.sh index afd67aae..6a8c85b2 100644 --- a/ct/dashy-v5.sh +++ b/ct/dashy-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/debian-v5.sh b/ct/debian-v5.sh index 278f8bb9..54cc5976 100644 --- a/ct/debian-v5.sh +++ b/ct/debian-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/deconz-v5.sh b/ct/deconz-v5.sh index 38df740b..86fda9a6 100644 --- a/ct/deconz-v5.sh +++ b/ct/deconz-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/deluge-v5.sh b/ct/deluge-v5.sh index fd515d61..11d82a66 100644 --- a/ct/deluge-v5.sh +++ b/ct/deluge-v5.sh @@ -28,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/devuan-v5.sh b/ct/devuan-v5.sh index 29ee1464..2b124e54 100644 --- a/ct/devuan-v5.sh +++ b/ct/devuan-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/docker-v5.sh b/ct/docker-v5.sh index a5183550..e0f39952 100644 --- a/ct/docker-v5.sh +++ b/ct/docker-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/emby-v5.sh b/ct/emby-v5.sh index dd20a0b3..ec6c54f5 100644 --- a/ct/emby-v5.sh +++ b/ct/emby-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/emqx-v5.sh b/ct/emqx-v5.sh index 4828a5b4..22f05ffc 100644 --- a/ct/emqx-v5.sh +++ b/ct/emqx-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/esphome-v5.sh b/ct/esphome-v5.sh index e9ca6cf2..e75e9f07 100644 --- a/ct/esphome-v5.sh +++ b/ct/esphome-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/go2rtc-v5.sh b/ct/go2rtc-v5.sh index 3efc59bf..11af6313 100644 --- a/ct/go2rtc-v5.sh +++ b/ct/go2rtc-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/grafana-v5.sh b/ct/grafana-v5.sh index f94b18e7..ccddc65d 100644 --- a/ct/grafana-v5.sh +++ b/ct/grafana-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/grocy-v5.sh b/ct/grocy-v5.sh index 2525cdb2..02944358 100644 --- a/ct/grocy-v5.sh +++ b/ct/grocy-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/heimdalldashboard-v5.sh b/ct/heimdalldashboard-v5.sh index 656db61a..b09170c6 100644 --- a/ct/heimdalldashboard-v5.sh +++ b/ct/heimdalldashboard-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/homeassistant-core-v5.sh b/ct/homeassistant-core-v5.sh index 40c2d5d1..81ac9bb9 100644 --- a/ct/homeassistant-core-v5.sh +++ b/ct/homeassistant-core-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/homeassistant-v5.sh b/ct/homeassistant-v5.sh index 5537dc7e..da4c31ed 100644 --- a/ct/homeassistant-v5.sh +++ b/ct/homeassistant-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/homebridge-v5.sh b/ct/homebridge-v5.sh index cf330c37..e77dbc51 100644 --- a/ct/homebridge-v5.sh +++ b/ct/homebridge-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/homepage-v5.sh b/ct/homepage-v5.sh index 8ef34ca2..32bc3745 100644 --- a/ct/homepage-v5.sh +++ b/ct/homepage-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/homer-v5.sh b/ct/homer-v5.sh index fcf78f88..bca46fb8 100644 --- a/ct/homer-v5.sh +++ b/ct/homer-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/hyperion-v5.sh b/ct/hyperion-v5.sh index ada0c0d7..f57f81b0 100644 --- a/ct/hyperion-v5.sh +++ b/ct/hyperion-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/influxdb-v5.sh b/ct/influxdb-v5.sh index 74d8063e..7306046c 100644 --- a/ct/influxdb-v5.sh +++ b/ct/influxdb-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/iobroker-v5.sh b/ct/iobroker-v5.sh index f022bcb4..77e5a5e8 100644 --- a/ct/iobroker-v5.sh +++ b/ct/iobroker-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/jackett-v5.sh b/ct/jackett-v5.sh index 554548b5..485c97cf 100644 --- a/ct/jackett-v5.sh +++ b/ct/jackett-v5.sh @@ -26,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/jellyfin-v5.sh b/ct/jellyfin-v5.sh index 5af15bc0..d124f71a 100644 --- a/ct/jellyfin-v5.sh +++ b/ct/jellyfin-v5.sh @@ -28,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/k0s-v5.sh b/ct/k0s-v5.sh index 9cf74443..510c5aba 100644 --- a/ct/k0s-v5.sh +++ b/ct/k0s-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/kavita-v5.sh b/ct/kavita-v5.sh index d1869d7b..d2a0aee0 100644 --- a/ct/kavita-v5.sh +++ b/ct/kavita-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/keycloak-v5.sh b/ct/keycloak-v5.sh index 8f0ebe5c..65043f38 100644 --- a/ct/keycloak-v5.sh +++ b/ct/keycloak-v5.sh @@ -28,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/lidarr-v5.sh b/ct/lidarr-v5.sh index 0383aded..c5973a74 100644 --- a/ct/lidarr-v5.sh +++ b/ct/lidarr-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/magicmirror-v5.sh b/ct/magicmirror-v5.sh index 606b6b41..8da28b49 100644 --- a/ct/magicmirror-v5.sh +++ b/ct/magicmirror-v5.sh @@ -28,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/mariadb-v5.sh b/ct/mariadb-v5.sh index 5e1dd9ab..ca18035a 100644 --- a/ct/mariadb-v5.sh +++ b/ct/mariadb-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/meshcentral-v5.sh b/ct/meshcentral-v5.sh index 336e5d9f..be017202 100644 --- a/ct/meshcentral-v5.sh +++ b/ct/meshcentral-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/motioneye-v5.sh b/ct/motioneye-v5.sh index e000822a..907f9182 100644 --- a/ct/motioneye-v5.sh +++ b/ct/motioneye-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/mqtt-v5.sh b/ct/mqtt-v5.sh index a43ce1b9..e16e0acd 100644 --- a/ct/mqtt-v5.sh +++ b/ct/mqtt-v5.sh @@ -26,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/n8n-v5.sh b/ct/n8n-v5.sh index cac60cdc..046c20c7 100644 --- a/ct/n8n-v5.sh +++ b/ct/n8n-v5.sh @@ -28,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/navidrome-v5.sh b/ct/navidrome-v5.sh index 4cb57222..99606d17 100644 --- a/ct/navidrome-v5.sh +++ b/ct/navidrome-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/nextcloudpi-v5.sh b/ct/nextcloudpi-v5.sh index 1e663eaa..4087e191 100644 --- a/ct/nextcloudpi-v5.sh +++ b/ct/nextcloudpi-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/nginxproxymanager-v5.sh b/ct/nginxproxymanager-v5.sh index 71d7c8e6..e2a6f421 100644 --- a/ct/nginxproxymanager-v5.sh +++ b/ct/nginxproxymanager-v5.sh @@ -28,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/nocodb-v5.sh b/ct/nocodb-v5.sh index af343280..7f5cc1b4 100644 --- a/ct/nocodb-v5.sh +++ b/ct/nocodb-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/node-red-v5.sh b/ct/node-red-v5.sh index 7051fbf2..6fae8624 100644 --- a/ct/node-red-v5.sh +++ b/ct/node-red-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/omada-v5.sh b/ct/omada-v5.sh index 1f7b2c6d..e3b04bc1 100644 --- a/ct/omada-v5.sh +++ b/ct/omada-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/omv-v5.sh b/ct/omv-v5.sh index f98708b7..542c9fa3 100644 --- a/ct/omv-v5.sh +++ b/ct/omv-v5.sh @@ -28,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/openhab-v5.sh b/ct/openhab-v5.sh index a21c2b72..23f0c177 100644 --- a/ct/openhab-v5.sh +++ b/ct/openhab-v5.sh @@ -28,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/paperless-ngx-v5.sh b/ct/paperless-ngx-v5.sh index 1f0d2ce0..4ffeb59a 100644 --- a/ct/paperless-ngx-v5.sh +++ b/ct/paperless-ngx-v5.sh @@ -28,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/photoprism-v5.sh b/ct/photoprism-v5.sh index 21de9379..d182a728 100644 --- a/ct/photoprism-v5.sh +++ b/ct/photoprism-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/pihole-v5.sh b/ct/pihole-v5.sh index 2838c254..486e2d28 100644 --- a/ct/pihole-v5.sh +++ b/ct/pihole-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/plex-v5.sh b/ct/plex-v5.sh index 77f384ed..62243b55 100644 --- a/ct/plex-v5.sh +++ b/ct/plex-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/podman-homeassistant-v5.sh b/ct/podman-homeassistant-v5.sh index a7beabb3..9553f229 100644 --- a/ct/podman-homeassistant-v5.sh +++ b/ct/podman-homeassistant-v5.sh @@ -31,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/podman-v5.sh b/ct/podman-v5.sh index 05cd6537..a388ea5f 100644 --- a/ct/podman-v5.sh +++ b/ct/podman-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/postgresql-v5.sh b/ct/postgresql-v5.sh index 91bf1f6a..d8072ccf 100644 --- a/ct/postgresql-v5.sh +++ b/ct/postgresql-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/prometheus-v5.sh b/ct/prometheus-v5.sh index a55e74cc..d0977b6c 100644 --- a/ct/prometheus-v5.sh +++ b/ct/prometheus-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/prowlarr-v5.sh b/ct/prowlarr-v5.sh index c23b23a5..e73b7249 100644 --- a/ct/prowlarr-v5.sh +++ b/ct/prowlarr-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/qbittorrent-v5.sh b/ct/qbittorrent-v5.sh index ef84f26a..5eb36c37 100644 --- a/ct/qbittorrent-v5.sh +++ b/ct/qbittorrent-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/radarr-v5.sh b/ct/radarr-v5.sh index 77559143..cf7cf23f 100644 --- a/ct/radarr-v5.sh +++ b/ct/radarr-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/readarr-v5.sh b/ct/readarr-v5.sh index 7ab40901..4b32964c 100644 --- a/ct/readarr-v5.sh +++ b/ct/readarr-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/rockylinux-v5.sh b/ct/rockylinux-v5.sh index ddd6517b..96f1f30e 100644 --- a/ct/rockylinux-v5.sh +++ b/ct/rockylinux-v5.sh @@ -28,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/rstptoweb-v5.sh b/ct/rstptoweb-v5.sh index 670fbe2d..e0bebee4 100644 --- a/ct/rstptoweb-v5.sh +++ b/ct/rstptoweb-v5.sh @@ -26,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/sabnzbd-v5.sh b/ct/sabnzbd-v5.sh index 3076ab52..a3f9457d 100644 --- a/ct/sabnzbd-v5.sh +++ b/ct/sabnzbd-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/scrypted-v5.sh b/ct/scrypted-v5.sh index aff8cf7b..1021fd8c 100644 --- a/ct/scrypted-v5.sh +++ b/ct/scrypted-v5.sh @@ -28,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/shinobi-v5.sh b/ct/shinobi-v5.sh index 9d854a57..f2411855 100644 --- a/ct/shinobi-v5.sh +++ b/ct/shinobi-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/sonarr-v5.sh b/ct/sonarr-v5.sh index 608ce718..f7f6d4b3 100644 --- a/ct/sonarr-v5.sh +++ b/ct/sonarr-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/syncthing-v5.sh b/ct/syncthing-v5.sh index 4997662a..780653b1 100644 --- a/ct/syncthing-v5.sh +++ b/ct/syncthing-v5.sh @@ -28,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/tdarr-v5.sh b/ct/tdarr-v5.sh index eb311112..d15c5de0 100644 --- a/ct/tdarr-v5.sh +++ b/ct/tdarr-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/technitiumdns-v5.sh b/ct/technitiumdns-v5.sh index e05f3be3..6927ee63 100644 --- a/ct/technitiumdns-v5.sh +++ b/ct/technitiumdns-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/transmission-v5.sh b/ct/transmission-v5.sh index b1f3aab6..a7aad0ce 100644 --- a/ct/transmission-v5.sh +++ b/ct/transmission-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/trilium-v5.sh b/ct/trilium-v5.sh index 28b04449..688a2a60 100644 --- a/ct/trilium-v5.sh +++ b/ct/trilium-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/ubuntu-v5.sh b/ct/ubuntu-v5.sh index 7319b8f2..3a07a06b 100644 --- a/ct/ubuntu-v5.sh +++ b/ct/ubuntu-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/umbrel-v5.sh b/ct/umbrel-v5.sh index c45af0b5..6adff888 100644 --- a/ct/umbrel-v5.sh +++ b/ct/umbrel-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/unifi-v5.sh b/ct/unifi-v5.sh index b91ad8c2..2b299529 100644 --- a/ct/unifi-v5.sh +++ b/ct/unifi-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/uptimekuma-v5.sh b/ct/uptimekuma-v5.sh index 7659983d..ad5cc724 100644 --- a/ct/uptimekuma-v5.sh +++ b/ct/uptimekuma-v5.sh @@ -28,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/vaultwarden-v5.sh b/ct/vaultwarden-v5.sh index 135bbe1b..055e893d 100644 --- a/ct/vaultwarden-v5.sh +++ b/ct/vaultwarden-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/whisparr-v5.sh b/ct/whisparr-v5.sh index a31ac005..1f51216c 100644 --- a/ct/whisparr-v5.sh +++ b/ct/whisparr-v5.sh @@ -28,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/whoogle-v5.sh b/ct/whoogle-v5.sh index 4058cbe1..93fc469b 100644 --- a/ct/whoogle-v5.sh +++ b/ct/whoogle-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/wikijs-v5.sh b/ct/wikijs-v5.sh index 50da63bd..685f8783 100644 --- a/ct/wikijs-v5.sh +++ b/ct/wikijs-v5.sh @@ -28,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/wireguard-v5.sh b/ct/wireguard-v5.sh index 4522791f..cc16fabd 100644 --- a/ct/wireguard-v5.sh +++ b/ct/wireguard-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/yunohost-v5.sh b/ct/yunohost-v5.sh index bf8f1798..52629130 100644 --- a/ct/yunohost-v5.sh +++ b/ct/yunohost-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/zigbee2mqtt-v5.sh b/ct/zigbee2mqtt-v5.sh index 460c4980..53543482 100644 --- a/ct/zigbee2mqtt-v5.sh +++ b/ct/zigbee2mqtt-v5.sh @@ -28,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/ct/zwave-js-ui-v5.sh b/ct/zwave-js-ui-v5.sh index 23e88c38..510cb5fc 100644 --- a/ct/zwave-js-ui-v5.sh +++ b/ct/zwave-js-ui-v5.sh @@ -27,7 +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}') +timezone=$(cat /etc/timezone) INTEGER='^[0-9]+$' YW=$(echo "\033[33m") BL=$(echo "\033[36m") diff --git a/install/adguard-v5-install.sh b/install/adguard-v5-install.sh index ac6bf8fd..ddb9f4bc 100644 --- a/install/adguard-v5-install.sh +++ b/install/adguard-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 c24e600c..c13f57e8 100644 --- a/install/audiobookshelf-v5-install.sh +++ b/install/audiobookshelf-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 7446e75e..5b7e9d52 100644 --- a/install/autobrr-v5-install.sh +++ b/install/autobrr-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 275f5e09..70788fde 100644 --- a/install/blocky-v5-install.sh +++ b/install/blocky-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 efda281c..f94c4b34 100644 --- a/install/casaos-v5-install.sh +++ b/install/casaos-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 a400759a..32823161 100644 --- a/install/changedetection-v5-install.sh +++ b/install/changedetection-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 daba7eb7..63f13711 100644 --- a/install/cronicle-v5-install.sh +++ b/install/cronicle-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 f92e786c..87b1bf68 100644 --- a/install/daemonsync-v5-install.sh +++ b/install/daemonsync-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 cec3a16f..0835c349 100644 --- a/install/dashy-v5-install.sh +++ b/install/dashy-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 53f5a875..8d8c09e0 100644 --- a/install/debian-v5-install.sh +++ b/install/debian-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 bdef4d6c..391c2857 100644 --- a/install/deconz-v5-install.sh +++ b/install/deconz-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 42325e53..fcfb590d 100644 --- a/install/deluge-v5-install.sh +++ b/install/deluge-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 906534e2..4a50c10d 100644 --- a/install/docker-v5-install.sh +++ b/install/docker-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 41bedf3d..600df6cd 100644 --- a/install/emby-v5-install.sh +++ b/install/emby-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 8c791710..0f51f30c 100644 --- a/install/emqx-v5-install.sh +++ b/install/emqx-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 d653ee25..62d289b7 100644 --- a/install/esphome-v5-install.sh +++ b/install/esphome-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 51d6831f..d06fe33c 100644 --- a/install/go2rtc-v5-install.sh +++ b/install/go2rtc-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 f09c81a7..5dc1ed99 100644 --- a/install/grafana-v5-install.sh +++ b/install/grafana-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 92242165..adf67d9a 100644 --- a/install/grocy-v5-install.sh +++ b/install/grocy-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 f287b687..7f2fa02e 100644 --- a/install/heimdalldashboard-v5-install.sh +++ b/install/heimdalldashboard-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 a1190ce0..614c3576 100644 --- a/install/homeassistant-core-v5-install.sh +++ b/install/homeassistant-core-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 5f8fe843..07c8707a 100644 --- a/install/homeassistant-v5-install.sh +++ b/install/homeassistant-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 b150c163..9fda9f34 100644 --- a/install/homebridge-v5-install.sh +++ b/install/homebridge-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 0b261e03..8f07e05f 100644 --- a/install/homepage-v5-install.sh +++ b/install/homepage-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 23831e78..4b5d77fc 100644 --- a/install/homer-v5-install.sh +++ b/install/homer-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 580817b7..828a5630 100644 --- a/install/hyperion-v5-install.sh +++ b/install/hyperion-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 4280456a..4ef3826e 100644 --- a/install/influxdb-v5-install.sh +++ b/install/influxdb-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 6f9cda96..b541522f 100644 --- a/install/iobroker-v5-install.sh +++ b/install/iobroker-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 9f257f5b..711b3804 100644 --- a/install/jackett-v5-install.sh +++ b/install/jackett-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 8faa5d27..7f3667cb 100644 --- a/install/jellyfin-v5-install.sh +++ b/install/jellyfin-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 138d51ce..9929af37 100644 --- a/install/k0s-v5-install.sh +++ b/install/k0s-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 76fdf021..2bafec40 100644 --- a/install/kavita-v5-install.sh +++ b/install/kavita-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 6858e15b..33c4e567 100644 --- a/install/keycloak-v5-install.sh +++ b/install/keycloak-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 aa990c17..fb5c1159 100644 --- a/install/lidarr-v5-install.sh +++ b/install/lidarr-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 3dbaf0a6..e46fb200 100644 --- a/install/magicmirror-v5-install.sh +++ b/install/magicmirror-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 db5eb164..58031075 100644 --- a/install/mariadb-v5-install.sh +++ b/install/mariadb-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 7861a8fd..85084330 100644 --- a/install/meshcentral-v5-install.sh +++ b/install/meshcentral-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 f112d854..83cbd1c0 100644 --- a/install/motioneye-v5-install.sh +++ b/install/motioneye-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 3be1d8a0..9e35158f 100644 --- a/install/mqtt-v5-install.sh +++ b/install/mqtt-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 fbafc2db..60481d2a 100644 --- a/install/n8n-v5-install.sh +++ b/install/n8n-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 c6a7f04e..a1a136fd 100644 --- a/install/navidrome-v5-install.sh +++ b/install/navidrome-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 8d25928a..5382bf00 100644 --- a/install/nextcloudpi-v5-install.sh +++ b/install/nextcloudpi-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 960bb71f..ce7e2cb4 100644 --- a/install/nginxproxymanager-v5-install.sh +++ b/install/nginxproxymanager-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 270436a8..b2a77d13 100644 --- a/install/nocodb-v5-install.sh +++ b/install/nocodb-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 fcc4c371..a8437881 100644 --- a/install/node-red-v5-install.sh +++ b/install/node-red-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 ad68dec6..e7e38878 100644 --- a/install/omada-v5-install.sh +++ b/install/omada-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 d9169e75..55aa1f09 100644 --- a/install/omv-v5-install.sh +++ b/install/omv-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 30b9f61d..74372081 100644 --- a/install/openhab-v5-install.sh +++ b/install/openhab-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 c48908f2..6e7e3e49 100644 --- a/install/paperless-ngx-v5-install.sh +++ b/install/paperless-ngx-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 b9c0782f..a51074eb 100644 --- a/install/photoprism-v5-install.sh +++ b/install/photoprism-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 5976ac9e..6e25aea0 100644 --- a/install/pihole-v5-install.sh +++ b/install/pihole-v5-install.sh @@ -48,7 +48,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 b15b104c..701636a2 100644 --- a/install/plex-v5-install.sh +++ b/install/plex-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 59918724..02878114 100644 --- a/install/podman-homeassistant-v5-install.sh +++ b/install/podman-homeassistant-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 89114aba..b551de69 100644 --- a/install/podman-v5-install.sh +++ b/install/podman-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 3c98caef..6ac71f6e 100644 --- a/install/postgresql-v5-install.sh +++ b/install/postgresql-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 36ad41fc..35434a3a 100644 --- a/install/prometheus-v5-install.sh +++ b/install/prometheus-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 0877c3e9..7d4a80a4 100644 --- a/install/prowlarr-v5-install.sh +++ b/install/prowlarr-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 7569b0fd..95512544 100644 --- a/install/qbittorrent-v5-install.sh +++ b/install/qbittorrent-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 7344a496..6b73dfc4 100644 --- a/install/radarr-v5-install.sh +++ b/install/radarr-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 c1fb8f85..d6e2dea2 100644 --- a/install/readarr-v5-install.sh +++ b/install/readarr-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 c0d51ac9..dbc1d606 100644 --- a/install/rstptoweb-v5-install.sh +++ b/install/rstptoweb-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 9434927a..e135afb6 100644 --- a/install/sabnzbd-v5-install.sh +++ b/install/sabnzbd-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 42080a83..1054b8d1 100644 --- a/install/scrypted-v5-install.sh +++ b/install/scrypted-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 d0f77c28..ff165a74 100644 --- a/install/shinobi-v5-install.sh +++ b/install/shinobi-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 fb878c3a..955d0cc6 100644 --- a/install/sonarr-v5-install.sh +++ b/install/sonarr-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 bc6edfbc..958a63f6 100644 --- a/install/syncthing-v5-install.sh +++ b/install/syncthing-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 2a3ef8c4..79c00018 100644 --- a/install/tdarr-v5-install.sh +++ b/install/tdarr-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 4513b3db..3650c52a 100644 --- a/install/technitiumdns-v5-install.sh +++ b/install/technitiumdns-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 e6fa9751..b3708485 100644 --- a/install/transmission-v5-install.sh +++ b/install/transmission-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 ccb0f1af..aba37afa 100644 --- a/install/trilium-v5-install.sh +++ b/install/trilium-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 c77cadc8..19a880a3 100644 --- a/install/ubuntu-v5-install.sh +++ b/install/ubuntu-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 d6331941..236d4a10 100644 --- a/install/umbrel-v5-install.sh +++ b/install/umbrel-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 54d9f90a..55a08456 100644 --- a/install/unifi-v5-install.sh +++ b/install/unifi-v5-install.sh @@ -48,7 +48,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 6a175b1c..b0fdb9b4 100644 --- a/install/uptimekuma-v5-install.sh +++ b/install/uptimekuma-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 0da9f03c..3c737500 100644 --- a/install/vaultwarden-v5-install.sh +++ b/install/vaultwarden-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 204074cf..0ba49544 100644 --- a/install/whisparr-v5-install.sh +++ b/install/whisparr-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 40eec029..6044e6d1 100644 --- a/install/whoogle-v5-install.sh +++ b/install/whoogle-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 09e417c6..2c5433eb 100644 --- a/install/wikijs-v5-install.sh +++ b/install/wikijs-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 87e9bf33..52a617b4 100644 --- a/install/wireguard-v5-install.sh +++ b/install/wireguard-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 19e7869d..b1baf047 100644 --- a/install/yunohost-v5-install.sh +++ b/install/yunohost-v5-install.sh @@ -46,7 +46,8 @@ function msg_error() { msg_info "Setting up Container OS" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 a7a38c91..3bcde768 100644 --- a/install/zigbee2mqtt-v5-install.sh +++ b/install/zigbee2mqtt-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime 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 83e8d30a..e97b125d 100644 --- a/install/zwave-js-ui-v5-install.sh +++ b/install/zwave-js-ui-v5-install.sh @@ -47,7 +47,8 @@ function msg_error() { msg_info "Setting up Container OS " sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -timedatectl set-timezone $tz +echo $tz > /etc/timezone +ln -sf /usr/share/zoneinfo/$tz /etc/localtime for ((i=RETRY_NUM; i>0; i--)); do if [ "$(hostname -I)" != "" ]; then break