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 #=================================================