From dfcb39bba00e8c35d3920eb748317cb4c57421a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Wed, 7 Feb 2018 00:40:11 +0100 Subject: [PATCH] Fix ynh_psql_test_if_first_run in upgrade script --- scripts/upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upgrade b/scripts/upgrade index 610a076..c885009 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -107,6 +107,7 @@ then ynh_app_setting_set $app synapse_db_pwd $synapse_db_pwd # Create postgresql database + ynh_psql_test_if_first_run ynh_psql_create_user $synapse_db_user $synapse_db_pwd ynh_psql_execute_as_root \ "CREATE DATABASE $synapse_db_name ENCODING 'UTF8' LC_COLLATE='C' LC_CTYPE='C' template=template0 OWNER $synapse_db_user;"