From b98d96f186d73c0ffeef892494e739a81644bb6e Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 27 Dec 2020 20:43:44 +0100 Subject: [PATCH] Update install --- scripts/install | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index f4c9dea..058db68 100755 --- a/scripts/install +++ b/scripts/install @@ -33,12 +33,11 @@ ynh_script_progression --message="Validating installation parameters..." --weigh final_path=/var/www/$app test ! -e "$final_path" || ynh_die --message="This path already contains a folder" -public_path=/home/yunohost.app/$app -test ! -e "${public_path}" || ynh_die --message="$public_path already exists" - # Register (book) web path ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url +public_path=/home/yunohost.app/$app + ynh_app_setting_set --app=$app --key=public_path --value=$public_path #=================================================