From 3b77b35b8296663e86d6687865e2b53f95769e6a Mon Sep 17 00:00:00 2001 From: Yalh Date: Sun, 27 Jan 2019 04:37:16 +0100 Subject: [PATCH] Fix DOMAIN arguments --- manifest.json | 12 ++++++------ scripts/install | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/manifest.json b/manifest.json index 305ed4f..17eec7b 100644 --- a/manifest.json +++ b/manifest.json @@ -29,10 +29,10 @@ "en": "Choose a domain for Z-push ActiveSync", "fr": "Choisissez un domaine pour Z-push ActiveSync" }, - "example": "example.com", + "example": "mail.example.com", "help": { - "en": "Z-push will be available at domain/Microsoft-Server-ActiveSync.", - "fr": "Z-push sera disponible à l'adresse domaine/Microsoft-Server-ActiveSync." + "en": "Z-push ActiveSync will be available at domain/Microsoft-Server-ActiveSync.", + "fr": "Z-push ActiveSync sera disponible à l'adresse domaine/Microsoft-Server-ActiveSync." } }, { @@ -42,10 +42,10 @@ "en": "Choose a domain for Z-push Autodiscover", "fr": "Choisissez un domaine pour Z-push Autodiscover" }, - "example": "example.com", + "example": "autodiscover.example.com", "help": { - "en": "Z-push will be available at domain/Microsoft-Server-Autodiscover.", - "fr": "Z-push sera disponible à l'adresse domaine/Microsoft-Server-Autodiscover." + "en": "Z-push Autodiscover will be available at domain/AutoDiscover/AutoDiscover.xml. Better to use autodiscover.example.org.", + "fr": "Z-push Autodiscover sera disponible à l'adresse domaine/AutoDiscover/AutoDiscover.xml. Il est préférable d'utiliser le nom de domaine autodiscover.example.org." } } ] diff --git a/scripts/install b/scripts/install index 4be7415..6628242 100755 --- a/scripts/install +++ b/scripts/install @@ -24,8 +24,8 @@ ynh_abort_if_errors # RETRIEVE ARGUMENTS FROM THE MANIFEST #================================================= -domain_activesync=$YNH_APP_ARG_DOMAIN -domain_autodiscover=$YNH_APP_ARG_DOMAIN +domain_activesync=$YNH_APP_ARG_DOMAIN_ACTIVESYNC +domain_autodiscover=$YNH_APP_ARG_DOMAIN_AUTODISCOVER path_url_activesync="/Microsoft-Server-ActiveSync" path_url_autodiscover1="/AutoDiscover" path_url_autodiscover2="/Autodiscover"