From 7f00fcca94c1d459a20d6d643e7ac00ba208f9b6 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 16 Nov 2021 20:19:55 +0100 Subject: [PATCH] fix linter --- manifest.json | 3 +-- scripts/restore | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/manifest.json b/manifest.json index 7a03e95..55b88e7 100644 --- a/manifest.json +++ b/manifest.json @@ -26,8 +26,7 @@ "install" : [ { "name": "domain", - "type": "domain", - "example": "example.com" + "type": "domain" }, { "name": "path", diff --git a/scripts/restore b/scripts/restore index 15708d2..94c96e9 100644 --- a/scripts/restore +++ b/scripts/restore @@ -35,8 +35,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=1 -ynh_webpath_available $domain $path_url \ - || ynh_die "Path not available: ${domain}${path_url}" test ! -d $final_path \ || ynh_die "There is already a directory: $final_path "