1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dispatch_ynh.git synced 2024-09-03 18:25:53 +02:00

Update restore

This commit is contained in:
ericgaspar 2021-08-30 11:48:11 +02:00
parent 880cf7e347
commit 3eed27e51c
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_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 "