mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
scripts: use newer option name instead of deprecated one
This commit is contained in:
parent
7a416d6379
commit
0bb5458e66
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ ynh_script_progression --message="Create the first administrator and team..." --
|
|||
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"
|
||||
ynh_exec_warn_less ynh_exec_as $app bin/mmctl user create --local --username "$admin" --email "$email" --password "$password" --locale "$language" --system_admin
|
||||
ynh_exec_warn_less ynh_exec_as $app bin/mmctl user create --local --username "$admin" --email "$email" --password "$password" --locale "$language" --system-admin
|
||||
ynh_exec_warn_less ynh_exec_as $app bin/mmctl user verify --local "$admin"
|
||||
ynh_exec_warn_less ynh_exec_as $app bin/mmctl team create --local --name "$team_name" --display_name "$team_display_name" --email "$email"
|
||||
ynh_exec_warn_less ynh_exec_as $app bin/mmctl team add --local "$team_name" "$admin"
|
||||
|
|
Loading…
Reference in a new issue