From 1b9441401f93aa5e60fae788269f5151640f4f9b Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 12 Nov 2021 07:48:48 +0100 Subject: [PATCH] fix linter warning --- manifest.json | 6 ++---- scripts/restore | 2 -- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/manifest.json b/manifest.json index 42ae370..f9031da 100644 --- a/manifest.json +++ b/manifest.json @@ -39,8 +39,7 @@ "install" : [ { "name": "domain", - "type": "domain", - "example": "domain.org" + "type": "domain" }, { "name": "path", @@ -50,8 +49,7 @@ }, { "name": "admin", - "type": "user", - "example": "johndoe" + "type": "user" }, { "name": "language", diff --git a/scripts/restore b/scripts/restore index 364a839..44d124e 100644 --- a/scripts/restore +++ b/scripts/restore @@ -35,8 +35,6 @@ timezone="$(cat /etc/timezone)" #================================================ ynh_script_progression --message="Validating restoration parameters..." --weight=1 -ynh_webpath_available --domain=$domain --path_url=$path_url \ - || ynh_die --message="Path not available: ${domain}${path_url}" test ! -d $final_path \ || ynh_die --message="There is already a directory: $final_path "