diff --git a/manifest.json b/manifest.json index a76cd78..6b7a7b6 100644 --- a/manifest.json +++ b/manifest.json @@ -25,8 +25,8 @@ "ask": { "en": "Choose a path for Radicale" }, - "example": "/sync", - "default": "/sync" + "example": "/sync/", + "default": "/sync/" } ] } diff --git a/scripts/install b/scripts/install index 1e6f62e..1573b71 100755 --- a/scripts/install +++ b/scripts/install @@ -4,6 +4,11 @@ domain=$1 path=$2 +# Add ending / to path if missing +if [[ ! $path =~ /$ ]]; then + path=$path/ +fi + # Check domain/path availability sudo yunohost app checkurl $domain$path -a radicale sudo yunohost app setting radicale skipped_uris -v "$path"