mirror of
https://github.com/YunoHost-Apps/emailpoubelle_ynh.git
synced 2024-09-03 18:26:29 +02:00
Correct exemple.fr exemple.com
This commit is contained in:
parent
ff93ab7a08
commit
97d118a6a1
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,8 @@ if [[ $?==0 ]]; then
|
||||||
#replace old conf and process with install command
|
#replace old conf and process with install command
|
||||||
mv $final_path/conf.php $final_path/conf.php.old
|
mv $final_path/conf.php $final_path/conf.php.old
|
||||||
mv $final_path/conf-dist.new.php $final_path/conf.php
|
mv $final_path/conf-dist.new.php $final_path/conf.php
|
||||||
|
ynh_replace_string "exemple.fr" "$domain" $final_path/conf.php
|
||||||
|
ynh_replace_string "exemple.com" "$domain" $final_path/conf.php
|
||||||
ynh_replace_string "define('DB', 'sqlite:'" "//define('DB', 'sqlite:'" $final_path/conf.php
|
ynh_replace_string "define('DB', 'sqlite:'" "//define('DB', 'sqlite:'" $final_path/conf.php
|
||||||
ynh_replace_string "define('ALIASLIMITBYMAIL" "//define('ALIASLIMITBYMAIL" $final_path/conf.php
|
ynh_replace_string "define('ALIASLIMITBYMAIL" "//define('ALIASLIMITBYMAIL" $final_path/conf.php
|
||||||
#setting conf file not world-readable (dude, there is a plain-text password !)
|
#setting conf file not world-readable (dude, there is a plain-text password !)
|
||||||
|
|
Loading…
Reference in a new issue