From 1781ae55762a8641508bbf2dcc65ca43cdc86c01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 26 Nov 2023 21:07:23 +0100 Subject: [PATCH] add timezone --- conf/.env | 2 ++ scripts/install | 2 ++ scripts/upgrade | 2 ++ 3 files changed, 6 insertions(+) diff --git a/conf/.env b/conf/.env index db163e9..da1aee0 100644 --- a/conf/.env +++ b/conf/.env @@ -1,3 +1,5 @@ +TZ=__TIMEZONE__ + OCIS_URL=https://__DOMAIN__ PROXY_HTTP_ADDR=127.0.0.1:__PORT__ PROXY_TLS=true diff --git a/scripts/install b/scripts/install index 6f325e1..f0a37d2 100755 --- a/scripts/install +++ b/scripts/install @@ -9,6 +9,8 @@ source _common.sh source /usr/share/yunohost/helpers +timezone=$(cat /etc/timezone) + #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 525c82c..8733b6b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,6 +9,8 @@ source _common.sh source /usr/share/yunohost/helpers +timezone=$(cat /etc/timezone) + #================================================= # CHECK VERSION #=================================================