1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00

Revert "Remove ynh_webpath_available in restore"

This reverts commit 70569f7067.
This commit is contained in:
tituspijean 2021-09-29 09:41:06 +02:00 committed by GitHub
parent 70569f7067
commit 79c398d7d9

View file

@ -39,6 +39,8 @@ port=$(ynh_app_setting_get --app=$app --key=port)
#=================================================
ynh_script_progression --message="Validating restoration parameters..."
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 "