From 4486616434d77ec0823b94982a17bbc174dc951d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 9 Jun 2019 22:38:21 +0200 Subject: [PATCH] Fix check of path availability --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 1d63405..6ed74c5 100644 --- a/scripts/install +++ b/scripts/install @@ -48,7 +48,7 @@ final_path="/opt/yunohost/matrix-$app" #================================================= ynh_script_progression --message="Validating installation parameters..." --weight=2 -ynh_webpath_available --domain=$domain --path_url=$path_url || ynh_die --message="$domain is not available as domain, please use an other domain." +[ $(ynh_webpath_available --domain=$domain --path_url=$path_url) == "True" ] || ynh_die --message="$domain is not available as domain, please use an other domain." test ! -e "/etc/nginx/conf.d/$domain.d/synapse*.conf" || ynh_die --message="$domain is not available as domain, please use an other domain." # Check Final Path availability