mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
Update install
This commit is contained in:
parent
aa49190ed3
commit
53a4ab437e
1 changed files with 2 additions and 2 deletions
|
@ -163,8 +163,8 @@ date=(date "+%F %T")
|
||||||
# # We need to register the admin in the database first before setting the admin JID
|
# # 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_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
|
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', NULL, '$date', '$date', NULL, 'f', 't', 't', 'f');
|
('$email', NULL, 'fr', 'f', 'f', NULL, '$date', '$date', NULL, 'f', 't', 't', 'f');"
|
||||||
|
|
||||||
ynh_exec_as $app php$phpversion $final_path/daemon.php setAdmin $email
|
ynh_exec_as $app php$phpversion $final_path/daemon.php setAdmin $email
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue