From fa21d3a85a6eb2d4c6327e24beff98a5e7f5e55f Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 1 Sep 2021 18:35:38 +0200 Subject: [PATCH] Update install --- scripts/install | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index 6f3d649..4a1fbba 100644 --- a/scripts/install +++ b/scripts/install @@ -133,14 +133,12 @@ setup="{ \"database\": \"postgres\", \"postgres:host\": \"localhost\", \"postgres:port\": \"5432\", - \"postgres:username\": \"$db_name\", - \"postgres:password\": \"$db_pwd\", - \"postgres:database\": \"$db_name\" + \"postgres:username\": \"${db_name}\", + \"postgres:password\": \"${db_pwd}\", + \"postgres:database\": \"${db_name}\" }" -pushd $final_path - ynh_exec_as $app env $ynh_node_load_PATH $final_path/nodebb setup "${setup}" -popd +ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $final_path/nodebb setup "${setup}" #================================================= # NGINX CONFIGURATION