1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00

Update install

This commit is contained in:
ericgaspar 2021-10-13 16:41:56 +02:00
parent 3432c908d1
commit 6ed4c4b565
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -175,10 +175,10 @@ team_name=$(echo "$team_display_name" | iconv -f utf8 -t ascii//TRANSLIT//IGNORE
#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 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 mmctl team add '$team_name' '$admin'
$final_path/bin/mmctl user create --username '$admin' --email '$email' --password '$password' --locale '$language' --system_admin ynh_exec_warn_less ynh_exec_as $app $final_path/bin/mmctl user create --username '$admin' --email '$email' --password '$password' --locale '$language' --system-admin
$final_path/bin/mmctl user verify '$admin' ynh_exec_warn_less ynh_exec_as $app $final_path/bin/mmctl user verify '$admin'
$final_path/bin/mmctl team create --name '$team_name' --display_name '$team_display_name' --email '$email' #ynh_exec_warn_less ynh_exec_as $app $final_path/bin/mmctl team create --name '$team_name' --display_name '$team_display_name' --email '$email'
$final_path/bin/mmctl team add '$team_name' '$admin' #ynh_exec_warn_less ynh_exec_as $app $final_path/bin/mmctl team add '$team_name' '$admin'
#popd #popd
#================================================= #=================================================