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