1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse-admin_ynh.git synced 2024-09-03 20:26:34 +02:00

Update restore

This commit is contained in:
ericgaspar 2021-08-29 14:45:55 +02:00
parent 5d0fa00cc7
commit 1fc820adf9
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -32,8 +32,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 "