From 4cab95f81d40aaff297fb666d3063d4975d98f30 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Thu, 21 Oct 2021 01:26:25 +0200 Subject: [PATCH] remove ynh_webpath_available in the restore script --- scripts/restore | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/restore b/scripts/restore index d54349d..799759b 100644 --- a/scripts/restore +++ b/scripts/restore @@ -41,10 +41,7 @@ architecture=$(ynh_app_setting_get --app="$app" --key=architecture) #================================================= 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}" -test ! -d $final_path \ -|| ynh_die --message="There is already a directory: $final_path " +test ! -d $final_path || ynh_die --message="There is already a directory: $final_path " #================================================= # STANDARD RESTORATION STEPS