Merge pull request #171 from YunoHost/useless_ynh_webpath_available

ynh_webpath_available is useless
This commit is contained in:
Éric Gaspar 2021-08-29 10:52:19 +02:00 committed by GitHub
commit 88a9366b72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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