Update restore

This commit is contained in:
ericgaspar 2021-08-28 23:32:33 +02:00
parent 74ade964f0
commit 0d2cab54a3
No known key found for this signature in database
GPG Key ID: 574F281483054D44

View File

@ -35,8 +35,6 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
#================================================= #=================================================
ynh_script_progression --message="Validating restoration parameters..." --weight=2 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 \ test ! -d $final_path \
|| ynh_die --message="There is already a directory: $final_path " || ynh_die --message="There is already a directory: $final_path "