From d83fcd94905798a9c5a26b044119f4847f68d9c3 Mon Sep 17 00:00:00 2001 From: liberodark Date: Mon, 19 Nov 2018 16:01:14 +0100 Subject: [PATCH] fix --- scripts/install | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 1fedfd4..64034d0 100644 --- a/scripts/install +++ b/scripts/install @@ -51,19 +51,20 @@ 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 /) +path_url=$(ynh_normalize_url_path $path_url) # Check web path availability -ynh_webpath_available $domain / +ynh_webpath_available $domain $path_url # Register (book) web path -ynh_webpath_register $app $domain / +ynh_webpath_register $app $domain $path_url #================================================= # STORE SETTINGS FROM MANIFEST #================================================= ynh_app_setting_set $app domain $domain -#ynh_app_setting_set $app port $port +ynh_app_setting_set $app path $path_url +ynh_app_setting_set $app is_public $is_public #================================================= # FIND AND OPEN A PORT