diff --git a/manifest.json b/manifest.json index d64f73e..7de2d34 100644 --- a/manifest.json +++ b/manifest.json @@ -33,16 +33,16 @@ "name": "path", "type": "path", "ask": { - "en": "Choose a path" + "en": "Choose a path (for now, only / works)" }, - "example": "/funkwhale", - "default": "/funkwhale" + "example": "/", + "default": "/" }, { "name": "is_public", "type": "boolean", "ask": { - "en": "Should Funkwhale be public accessible?" + "en": "Should Funkwhale be publicly accessible?" }, "default": "0" }, diff --git a/scripts/install b/scripts/install index 0c738a4..cafc534 100644 --- a/scripts/install +++ b/scripts/install @@ -38,6 +38,8 @@ test ! -e "$final_path" || ynh_die "This path already contains a folder" # Normalize the url path syntax path_url=$(ynh_normalize_url_path "$path_url") +test ! "$path_url" != "/" || ynh_die 'The path should be "/" for now...' + # Check web path availability ynh_webpath_available "$domain" "$path_url" # Register (book) web path