From 388757cb8969f1f0e22cb2107d9ca437a60339f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 22 Feb 2024 22:07:11 +0100 Subject: [PATCH] Simplify main domain retrivement --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"