From f8774da26a6522a9d2f1d9df74906efc915a7e34 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Sun, 19 Dec 2021 15:19:24 +0100 Subject: [PATCH] back to correct code --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 2399a2f..29a76b9 100644 --- a/scripts/install +++ b/scripts/install @@ -83,8 +83,8 @@ ynh_add_fpm_config --package="$extra_php_dependencies" #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=5 -# copy config.dist.php create config.local.php -ynh_add_config --template="config.dist.php" --destination="$final_path/config.local.php" +# copy config.dist.php creating config.local.php +cp -a $final_path/config.dist.php $final_path/config.local.php # create a key for the secret key CSFR; key=$(ynh_string_random --length=50) # edit config.local.php