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:
parent
827fe50877
commit
72a238f6ff
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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/
|
||||||
|
|
Loading…
Reference in a new issue