From 5e45ec6b35097b4b9e58209d4a8a09a241aa7f99 Mon Sep 17 00:00:00 2001 From: Geoff Montel Date: Tue, 1 Oct 2019 15:38:14 +0200 Subject: [PATCH] hotfix bash typo --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 59b07a8..1558f93 100755 --- a/scripts/install +++ b/scripts/install @@ -130,6 +130,7 @@ ynh_add_nginx_config # OPENPROJECT CONFIGURATION #================================================= db_name=$(ynh_sanitize_dbid --db_name=$app) +db_pwd=$(ynh_string_random) # Generate a random password db_user=$db_name ynh_script_progression --message="Configuring OpenProject..." --weight=1 sudo -iu $app cat >> $final_path/config/database.yml << EOF @@ -161,7 +162,6 @@ ynh_store_file_checksum --file="$final_path/config/configuration.yml" #================================================= ynh_script_progression --message="Creating a PostgreSQL database..." --weight=1 -local db_pwd=$(ynh_string_random) # Generate a random password ynh_app_setting_set --app=$app --key=dbpwd --value=$db_pwd # Store the password in the app's config ynh_app_setting_set --app=$app --key=db_name --value=$db_name