From 6bb0015ae4c5a16b8d3c53d6f9acac57121de368 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 22 Sep 2021 00:08:28 +0200 Subject: [PATCH] Fix --- manifest.json | 3 +-- scripts/restore | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/manifest.json b/manifest.json index e9c6ef9..fd34441 100644 --- a/manifest.json +++ b/manifest.json @@ -31,8 +31,7 @@ "arguments": { "install": [{ "name": "domain", - "type": "domain", - "example": "streama.example.com" + "type": "domain" }, { "name": "is_public", diff --git a/scripts/restore b/scripts/restore index ea11593..b38a380 100644 --- a/scripts/restore +++ b/scripts/restore @@ -35,8 +35,6 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=3 -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 "