From 7af62e99779c37ed5e2729a7ed9e34d8feb7fcd5 Mon Sep 17 00:00:00 2001 From: Yalh Date: Sun, 27 Jan 2019 04:42:10 +0100 Subject: [PATCH] Fix install --- scripts/install | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 6628242..eb5f3e2 100755 --- a/scripts/install +++ b/scripts/install @@ -46,6 +46,12 @@ is_public="1" ### guaranteed to be unique. This is a good unique identifier to define installation path, ### db names, ... app=$YNH_APP_INSTANCE_NAME +app_activesync=$app +app_autodiscover=$app + +app_activesync+="_activesync" +app_autodiscover+="_autodiscover" + #================================================= # CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS @@ -62,10 +68,10 @@ state_path=/var/lib/z-push #path_url=$(ynh_normalize_url_path $path_url) # Register (book) web path -ynh_webpath_register $app $domain_activesync $path_url_activesync -ynh_webpath_register $app $domain_autodiscover $path_url_autodiscover1 -ynh_webpath_register $app $domain_autodiscover $path_url_autodiscover2 -ynh_webpath_register $app $domain_autodiscover $path_url_autodiscover3 +ynh_webpath_register $app_activesync $domain_activesync $path_url_activesync +ynh_webpath_register $app_autodiscover $domain_autodiscover $path_url_autodiscover1 +ynh_webpath_register $app_autodiscover $domain_autodiscover $path_url_autodiscover2 +ynh_webpath_register $app_autodiscover $domain_autodiscover $path_url_autodiscover3 #================================================= # STORE SETTINGS FROM MANIFEST