From f05420aa9928aa2295031ef2d6a1dc948d74564b Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 6 Mar 2022 10:26:09 +0100 Subject: [PATCH] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 1efd7d4..11f3d7e 100644 --- a/scripts/install +++ b/scripts/install @@ -161,7 +161,7 @@ ynh_exec_warn_less ynh_composer_exec --phpversion="$phpversion" --workdir="$fina date=(date "+%F %T") # We need to register the admin in the database first before setting the admin JID -ynh_psql_connect_as --user=$db_user --password=$db_pwd --database=$db_name <<< "INSERT INTO users (id, configuration, language, nightmode, nsfw, public, created_at, updated_at, nickname, chatmain, notificationchat, notificationcall, admin) VALUES ($email, NULL, fr, f, f, t, $date, $date, NULL, f, t, t, t);" +ynh_psql_connect_as --user=$db_user --password=$db_pwd --database=$db_name <<< "INSERT INTO users (id, configuration, language, nightmode, nsfw, public, created_at, updated_at, nickname, chatmain, notificationchat, notificationcall, admin) VALUES ("$email", NULL, fr, f, f, t, "$date", "$date", NULL, f, t, t, t);" ynh_exec_as $app php$phpversion $final_path/daemon.php setAdmin $email