From 49536c47534a31d2e5d284b41020ff8bed7b0b5d Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 13 Oct 2021 16:13:57 +0200 Subject: [PATCH] Update install --- scripts/install | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 1f75f39..bd238ba 100644 --- a/scripts/install +++ b/scripts/install @@ -169,16 +169,16 @@ ynh_add_systemd_config team_name=$(echo "$team_display_name" | iconv -f utf8 -t ascii//TRANSLIT//IGNORE | sed -e 's/[^[:alnum:]]/-/g' | tr -s '-' | tr A-Z a-z) -pushd "$final_path" +pushd "$final_path/bin" #ynh_exec_warn_less ynh_exec_as $app mmctl user create --username '$admin' --email '$email' --password '$password' --locale '$language' --system_admin #ynh_exec_warn_less ynh_exec_as $app mmctl user verify '$admin' #ynh_exec_warn_less ynh_exec_as $app mmctl team create --name '$team_name' --display_name '$team_display_name' --email '$email' #ynh_exec_warn_less ynh_exec_as $app mmctl team add '$team_name' '$admin' - ynh_exec_warn_less ynh_exec_as $app bin mmctl user create --username '$admin' --email '$email' --password '$password' --locale '$language' --system_admin - ynh_exec_warn_less ynh_exec_as $app bin mmctl user verify '$admin' - ynh_exec_warn_less ynh_exec_as $app bin mmctl team create --name '$team_name' --display_name '$team_display_name' --email '$email' - ynh_exec_warn_less ynh_exec_as $app bin mmctl team add '$team_name' '$admin' + mmctl user create --username '$admin' --email '$email' --password '$password' --locale '$language' --system_admin + mmctl user verify '$admin' + mmctl team create --name '$team_name' --display_name '$team_display_name' --email '$email' + mmctl team add '$team_name' '$admin' popd #=================================================