mirror of
https://github.com/YunoHost-Apps/mineweb_ynh.git
synced 2024-09-03 19:45:54 +02:00
Update upgrade
This commit is contained in:
parent
f2315295b1
commit
9b22c04604
1 changed files with 10 additions and 0 deletions
|
@ -105,6 +105,16 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=2
|
|||
# Create a dedicated PHP-FPM config
|
||||
ynh_add_fpm_config --package="$extra_php_dependencies"
|
||||
|
||||
#=================================================
|
||||
# MODIFY A CONFIG FILE
|
||||
#=================================================
|
||||
|
||||
cp -a ../conf/database.php $final_path/app/Config/database.php
|
||||
|
||||
ynh_replace_string --match_string="__DBUSER__" --replace_string="$db_name" --target_file="$final_path/app/Config/database.php"
|
||||
ynh_replace_string --match_string="__DBPWD__" --replace_string="$db_pwd" --target_file="$final_path/app/Config/database.php"
|
||||
ynh_replace_string --match_string="__DBNAME__" --replace_string="$db_name" --target_file="$final_path/app/Config/database.php"
|
||||
|
||||
#=================================================
|
||||
# MODIFY FIRST.CTP
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue