diff --git a/scripts/install b/scripts/install index 1fe561a..3cfc1fe 100755 --- a/scripts/install +++ b/scripts/install @@ -124,6 +124,7 @@ cp -f "$final_path/.env.example" "$config" ynh_replace_string --match_string="SomeRandomStringOf32CharsExactly" --replace_string="$random_key" --target_file="$config" ynh_replace_string --match_string="fireflyiiidb" --replace_string="127.0.0.1" --target_file="$config" ynh_replace_string --match_string="DB_DATABASE=firefly" --replace_string="DB_DATABASE=$db_name" --target_file="$config" +ynh_replace_string --match_string="DB_USERNAME=firefly" --replace_string="DB_USERNAME=$db_name" --target_file="$config" ynh_replace_string --match_string="secret_firefly_password" --replace_string="$db_pwd" --target_file="$config" ynh_replace_string --match_string="MAIL_MAILER=log" --replace_string="MAIL_MAILER=smtp" --target_file="$config" ynh_replace_string --match_string="MAIL_HOST=null" --replace_string="MAIL_HOST=127.0.0.1" --target_file="$config"