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