diff --git a/scripts/_common.sh b/scripts/_common.sh index 963edc0..49d186b 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -1,6 +1,6 @@ python_version="$(python3 -V | cut -d' ' -f2 | cut -d. -f1-2)" -main_domain=$(yunohost domain list --output-as json | jq -r .main) +main_domain=$(yunohost domain main-domain --output-as plain) code_dir="/opt/yunohost/matrix-$app" base_api_url="/_matrix"