From cbac5feabb9a542ec4335151538f95dca6be0dc9 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 21 Sep 2021 23:33:40 +0200 Subject: [PATCH] Cleaning up --- manifest.json | 6 ++---- scripts/restore | 8 -------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/manifest.json b/manifest.json index a04e6a2..667b0d3 100644 --- a/manifest.json +++ b/manifest.json @@ -31,8 +31,7 @@ "install" : [ { "name": "domain", - "type": "domain", - "example": "domain.org" + "type": "domain" }, { "name": "path", @@ -42,8 +41,7 @@ }, { "name": "admin", - "type": "user", - "example": "homer" + "type": "user" }, { "name": "is_public", diff --git a/scripts/restore b/scripts/restore index aeff4d4..a1ecc1f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -32,14 +32,6 @@ path_url=$(ynh_app_setting_get --app=$app --key=path) db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_user=$db_name -#================================================= -# CHECK IF THE APP CAN BE RESTORED -#================================================= -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}" - #================================================= # STANDARD RESTORATION STEPS #=================================================