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

Missing keyword arg for ynh_replace

This commit is contained in:
Alexandre Aubin 2024-06-23 16:58:06 +02:00
parent 574453228f
commit 3f3e90a079

View file

@ -77,7 +77,7 @@ ynh_hide_warnings sudo --preserve-env -u $app "$bin_mmctl" team create --name "$
ynh_hide_warnings sudo --preserve-env -u $app "$bin_mmctl" team users add "$team_name" "$admin" ynh_hide_warnings sudo --preserve-env -u $app "$bin_mmctl" team users add "$team_name" "$admin"
# Disable mmctl passwordless access # Disable mmctl passwordless access
ynh_replace '"EnableLocalMode": true' '"EnableLocalMode": false' "$install_dir/config/config.json" ynh_replace --match='"EnableLocalMode": true' --replace='"EnableLocalMode": false' --file="$install_dir/config/config.json"
ynh_systemctl --service=$app --action=restart --log_path=systemd --wait_until="Started Mattermost" ynh_systemctl --service=$app --action=restart --log_path=systemd --wait_until="Started Mattermost"
#================================================= #=================================================