From 72a238f6ffe168c403858f1594ff332e6a13191a Mon Sep 17 00:00:00 2001 From: polytan02 Date: Thu, 22 Dec 2016 13:11:35 +0000 Subject: [PATCH] Adjustment on timezone parameter --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index ce5e447..bd03482 100755 --- a/scripts/install +++ b/scripts/install @@ -60,7 +60,7 @@ sudo mkdir -p $final_path sudo cp ../conf/config_local.php ../sources/ sed -i "s@CALIBRETOCHANGE@$calibrepath@g" ../sources/config_local.php timezone=`sudo cat /etc/timezone`; -sed -i "s@TIMEZONETOCHANGE@$calibrepath@g" ../sources/config_local.php +sed -i "s@TIMEZONETOCHANGE@$timezone@g" ../sources/config_local.php # To be done : make it an if loop diff --git a/scripts/upgrade b/scripts/upgrade index d6eed69..0eade28 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -73,7 +73,7 @@ sudo mkdir -p $final_path sudo cp ../conf/config_local.php ../sources/ sed -i "s@CALIBRETOCHANGE@$calibrepath@g" ../sources/config_local.php timezone=`sudo cat /etc/timezone`; -sed -i "s@TIMEZONETOCHANGE@$calibrepath@g" ../sources/config_local.php +sed -i "s@TIMEZONETOCHANGE@$timezone@g" ../sources/config_local.php # Base site sudo cp -a ../sources/* $final_path/