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 #=================================================