From 4a6886aed9dd56e4045d9110ef751ddb059b11e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 7 Oct 2022 15:02:43 +0200 Subject: [PATCH] Install in /var/www --- doc/DISCLAIMER.md | 2 +- scripts/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index 7491d39..4642af8 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -3,4 +3,4 @@ * Email required for administation (uses "magic links" instead of admin passwords) * You should manually configure the app after installation. -* You should edit /opt/yunohost/fider/run_fider to add environment variables, e.g for Github integration +* You should edit /var/www/fider/run_fider to add environment variables, e.g for Github integration diff --git a/scripts/install b/scripts/install index db0c41a..7b65a58 100755 --- a/scripts/install +++ b/scripts/install @@ -37,7 +37,7 @@ app=$YNH_APP_INSTANCE_NAME #================================================= ynh_script_progression --message="Validating installation parameters..." --weight=1 -final_path=/opt/yunohost/$app +final_path=/var/www/$app test ! -e "$final_path" || ynh_die --message="This path already contains a folder" # Register (book) web path