1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cops_ynh.git synced 2024-09-03 18:25:57 +02:00

Adjustment on timezone parameter

This commit is contained in:
polytan02 2016-12-22 13:11:35 +00:00
parent 827fe50877
commit 72a238f6ff
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ sudo mkdir -p $final_path
sudo cp ../conf/config_local.php ../sources/ sudo cp ../conf/config_local.php ../sources/
sed -i "s@CALIBRETOCHANGE@$calibrepath@g" ../sources/config_local.php sed -i "s@CALIBRETOCHANGE@$calibrepath@g" ../sources/config_local.php
timezone=`sudo cat /etc/timezone`; 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 # To be done : make it an if loop

View file

@ -73,7 +73,7 @@ sudo mkdir -p $final_path
sudo cp ../conf/config_local.php ../sources/ sudo cp ../conf/config_local.php ../sources/
sed -i "s@CALIBRETOCHANGE@$calibrepath@g" ../sources/config_local.php sed -i "s@CALIBRETOCHANGE@$calibrepath@g" ../sources/config_local.php
timezone=`sudo cat /etc/timezone`; 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 # Base site
sudo cp -a ../sources/* $final_path/ sudo cp -a ../sources/* $final_path/