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:
parent
78bffa9b97
commit
3432c908d1
1 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ 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)
|
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"
|
||||||
#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 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 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 create --name '$team_name' --display_name '$team_display_name' --email '$email'
|
||||||
|
@ -179,7 +179,7 @@ pushd "$final_path"
|
||||||
$final_path/bin/mmctl user verify '$admin'
|
$final_path/bin/mmctl user verify '$admin'
|
||||||
$final_path/bin/mmctl team create --name '$team_name' --display_name '$team_display_name' --email '$email'
|
$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'
|
$final_path/bin/mmctl team add '$team_name' '$admin'
|
||||||
popd
|
#popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INTEGRATE SERVICE IN YUNOHOST
|
# INTEGRATE SERVICE IN YUNOHOST
|
||||||
|
|
Loading…
Add table
Reference in a new issue