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

Remove redundant call to ynh_webpath_available (#53)

ynh_webpath_register will take care of check & fail nicely if needed.
This commit is contained in:
JocelynDelalande 2018-12-15 17:41:02 +01:00 committed by ljf (zamentur)
parent b80db8e810
commit 1734ca9293

View file

@ -55,8 +55,6 @@ test ! -e "$final_path" || ynh_die "This path already contains a folder"
# Normalize the url path syntax # Normalize the url path syntax
path_url=$(ynh_normalize_url_path $path_url) path_url=$(ynh_normalize_url_path $path_url)
# Check web path availability
ynh_webpath_available $domain $path_url
# Register (book) web path # Register (book) web path
ynh_webpath_register $app $domain $path_url ynh_webpath_register $app $domain $path_url