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

scripts: fix mmctl detection

This commit is contained in:
Pierre de La Morinerie 2021-11-12 22:05:35 +01:00
parent 59c500ea70
commit 16db0114dc

View file

@ -188,7 +188,7 @@ team_name=$(echo "$team_display_name" | iconv -f utf8 -t ascii//TRANSLIT//IGNORE
bin_mmctl="$final_path/bin/mmctl"
# mmctl is not packaged with ARM versions yet
if [[ -f $"bin_mmctl" ]]; then
if [[ -f "$bin_mmctl" ]]; then
export MMCTL_LOCAL=true
export MMCTL_LOCAL_SOCKET_PATH="$local_socket_path"