From 13cc639647b5c86446efc5eac6a520f82abf2744 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 24 Feb 2022 02:34:47 +0100 Subject: [PATCH] remove path_url --- check_process | 1 - manifest.json | 6 ------ scripts/change_url | 2 +- scripts/install | 2 +- 4 files changed, 2 insertions(+), 9 deletions(-) diff --git a/check_process b/check_process index 772d6a4..f7137eb 100644 --- a/check_process +++ b/check_process @@ -1,7 +1,6 @@ ;; Test complet ; Manifest domain="domain.tld" - path="/path" is_public=1 ; Checks pkg_linter=1 diff --git a/manifest.json b/manifest.json index 0b8ca5a..42f9b77 100644 --- a/manifest.json +++ b/manifest.json @@ -33,12 +33,6 @@ "name": "domain", "type": "domain" }, - { - "name": "path", - "type": "path", - "example": "/kiwix", - "default": "/kiwix" - }, { "name": "is_public", "type": "boolean", diff --git a/scripts/change_url b/scripts/change_url index 3e74909..c113c86 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -17,7 +17,7 @@ old_domain=$YNH_APP_OLD_DOMAIN old_path=$YNH_APP_OLD_PATH new_domain=$YNH_APP_NEW_DOMAIN -new_path=$YNH_APP_NEW_PATH +new_path="/" app=$YNH_APP_INSTANCE_NAME diff --git a/scripts/install b/scripts/install index 1d0a026..347ae75 100755 --- a/scripts/install +++ b/scripts/install @@ -24,7 +24,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 architecture=$YNH_ARCH