From ce447cdb468ec2486c05362de3b2b1829df33849 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 28 Jan 2022 14:00:15 +0100 Subject: [PATCH] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 2aff81c..4502fc5 100644 --- a/scripts/install +++ b/scripts/install @@ -26,6 +26,7 @@ is_public=$YNH_APP_ARG_IS_PUBLIC language=$YNH_APP_ARG_LANGUAGE phpversion=$YNH_PHP_VERSION redis_db=$(ynh_redis_get_free_db) +mail_pwd=$(ynh_string_random --length=12) app=$YNH_APP_INSTANCE_NAME @@ -116,8 +117,7 @@ ynh_install_composer --phpversion=$phpversion --workdir=$final_path --install_ar #================================================= # MODIFY A CONFIG FILE #================================================= - -mail_pwd=$(ynh_string_random --length=12) +ynh_script_progression --message="Adding a configuration file..." --weight=1 ynh_add_config --template=../conf/.env.example --destination=$final_path/.env chmod 600 $final_path/.env