From 37911b03728117a979dbda45bafdc6b06c39569e Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 10 Jul 2022 13:09:30 +0200 Subject: [PATCH] Update install --- scripts/install | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 2a0a978..7a5219c 100644 --- a/scripts/install +++ b/scripts/install @@ -126,11 +126,9 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= ynh_script_progression --message="Configuring WordPress..." -cp ../conf/wp-config.php $final_path/wp-config.php # Change variables in Wordpress configuration -ynh_replace_string --match_string="__DB_NAME__" --replace_string=$db_name --target_file=$final_path/wp-config.php -ynh_replace_string --match_string="__DB_USER__" --replace_string=$db_user --target_file=$final_path/wp-config.php -ynh_replace_string --match_string="__DB_PWD__" --replace_string="$db_pwd" --target_file=$final_path/wp-config.php +file=__FILE__ +ynh_add_config --template="../conf/wp-config.php" --destination="$final_path/wp-config.php" for i in 1 2 3 4 5 6 7 8 do