From de83ec9fddcda65b530a054d014a89e72c2402f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 27 May 2024 14:47:39 +0200 Subject: [PATCH] Update install --- scripts/install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 098dc37..d21b61f 100644 --- a/scripts/install +++ b/scripts/install @@ -9,6 +9,8 @@ source _common.sh source /usr/share/yunohost/helpers +mail=$(ynh_user_get_info --username=$admin --key=mail) + #================================================= # INSTALL DEPENDENCIES #================================================= @@ -68,7 +70,7 @@ pushd $install_dir ynh_use_nodejs ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH yarn install # Install dependencies #ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH yarn build - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH ./server/cli.js users create $admin $password admin --config ./config.json + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH ./server/cli.js users create $mail $password admin --config ./config.json popd #=================================================