From 8bfc4cc4bf67e812de77e0cbfd0e9d721c2dff5d Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 3 Feb 2022 19:19:20 +0100 Subject: [PATCH] Fix --- manifest.json | 6 ------ scripts/install | 6 +++--- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/manifest.json b/manifest.json index 836a938..c60def0 100644 --- a/manifest.json +++ b/manifest.json @@ -34,12 +34,6 @@ "type": "domain", "example": "domain.org" }, - { - "name": "path", - "type": "path", - "example": "/kiwiirc", - "default": "/kiwiirc" - }, { "name": "is_public", "type": "boolean", diff --git a/scripts/install b/scripts/install index fb02465..d8f211c 100644 --- a/scripts/install +++ b/scripts/install @@ -21,7 +21,7 @@ ynh_abort_if_errors #================================================= domain=$YNH_APP_ARG_DOMAIN -path_url=$YNH_APP_ARG_PATH +path_url="/" is_public=$YNH_APP_ARG_IS_PUBLIC app=$YNH_APP_INSTANCE_NAME @@ -34,8 +34,8 @@ ynh_script_progression --message="Validating installation parameters..." --weigh # final_path=/var/www/$app # test ! -e "$final_path" || ynh_die --message="This path already contains a folder" -# # Register (book) web path -# ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url +# Register (book) web path +ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url #================================================= # STORE SETTINGS FROM MANIFEST