mirror of
https://github.com/YunoHost-Apps/z-push_ynh.git
synced 2024-09-03 18:05:58 +02:00
Fix install
This commit is contained in:
parent
9a48af81e8
commit
6f8e18d265
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ ynh_add_fpm_config
|
||||||
### `ynh_replace_string` is used to replace a string in a file.
|
### `ynh_replace_string` is used to replace a string in a file.
|
||||||
### (It's compatible with sed regular expressions syntax)
|
### (It's compatible with sed regular expressions syntax)
|
||||||
|
|
||||||
ynh_replace_string "match_string" "replace_string" "$final_path/conf/config.php"
|
#ynh_replace_string "match_string" "replace_string" "$final_path/conf/config.php"
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
sed -i "s^define('TIMEZONE', .*^define('TIMEZONE', '$(cat /etc/timezone)');^" ../conf/config.php
|
sed -i "s^define('TIMEZONE', .*^define('TIMEZONE', '$(cat /etc/timezone)');^" ../conf/config.php
|
||||||
|
|
Loading…
Add table
Reference in a new issue