From 7aaf43e7c965c70f9f3d4b2596a6b8fd286ce68a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 26 Jan 2021 20:47:03 +0100 Subject: [PATCH] Update restore --- scripts/restore | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/scripts/restore b/scripts/restore index c757814..3ace48b 100644 --- a/scripts/restore +++ b/scripts/restore @@ -26,16 +26,6 @@ domain=$(ynh_app_setting_get --app=$app --key=domain) path_url=$(ynh_app_setting_get --app=$app --key=path) final_path=$(ynh_app_setting_get --app=$app --key=final_path) -#================================================= -# CHECK IF THE APP CAN BE RESTORED -#================================================= -ynh_script_progression --message="Validating restoration parameters..." --weight=1 - -ynh_webpath_available --domain=$domain \ - || ynh_die --message="Path not available: ${domain}" -test ! -d $final_path \ - || ynh_die --message="There is already a directory: $final_path " - #================================================= # RESTORE THE APP MAIN DIR #=================================================