From 21691a8645a8050fde1741d5fdf2410fee431596 Mon Sep 17 00:00:00 2001 From: Rafi59 Date: Sat, 3 Nov 2018 10:19:22 +0100 Subject: [PATCH] Fixed error in path_url --- scripts/install | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 6c5ba9f..a540a97 100644 --- a/scripts/install +++ b/scripts/install @@ -50,10 +50,13 @@ app=$YNH_APP_INSTANCE_NAME final_path=/opt/yunohost/$app test ! -e "$final_path" || ynh_die "This path already contains a folder" +# Normalize the url path syntax +path_url=$(ynh_normalize_url_path /) + # Check web path availability -ynh_webpath_available $domain +ynh_webpath_available $domain / # Register (book) web path -ynh_webpath_register $app $domain +ynh_webpath_register $app $domain / #================================================= # STORE SETTINGS FROM MANIFEST