From ca3c7719d7543a74c5364f3aca452131ce66b2bf Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 13 Nov 2021 17:14:41 +0100 Subject: [PATCH] Fix linter warnings --- manifest.json | 6 ++---- scripts/restore | 2 -- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/manifest.json b/manifest.json index 5bfd32b..0146e0d 100644 --- a/manifest.json +++ b/manifest.json @@ -26,8 +26,7 @@ "install" : [ { "name": "domain", - "type": "domain", - "example": "example.com" + "type": "domain" }, { "name": "path", @@ -37,8 +36,7 @@ }, { "name": "admin", - "type": "user", - "example": "johndoe" + "type": "user" }, { "name": "is_public", diff --git a/scripts/restore b/scripts/restore index 215ec0f..fb974b6 100644 --- a/scripts/restore +++ b/scripts/restore @@ -39,8 +39,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= ynh_script_progression --message="Validating restoration parameters..." -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 "