From 15b54ab0fad6d9302fcb1722d81d77f3932d40f9 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 1 Oct 2021 20:53:17 +0200 Subject: [PATCH] Cleaning up --- manifest.json | 6 ++---- scripts/restore | 2 -- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/manifest.json b/manifest.json index b3b4697..6bb9539 100644 --- a/manifest.json +++ b/manifest.json @@ -30,8 +30,7 @@ "install" : [ { "name": "domain", - "type": "domain", - "example": "domain.org" + "type": "domain" }, { "name": "path", @@ -51,8 +50,7 @@ { "name": "password", "type": "password", - "optional": true, - "example": "myreallystrengthpassword" + "optional": true }, { "name": "is_public", diff --git a/scripts/restore b/scripts/restore index 49f60fc..e903d5d 100644 --- a/scripts/restore +++ b/scripts/restore @@ -37,8 +37,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=2 -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 "