From 4fd7749396600cc58a6103ade3293d18764c0411 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 12 Apr 2022 22:27:41 +0200 Subject: [PATCH] Update install --- scripts/install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install b/scripts/install index 78ba8c0..c9aa78d 100644 --- a/scripts/install +++ b/scripts/install @@ -129,6 +129,11 @@ ynh_add_config --template="../conf/configuration.yml.example" --destination="$fi chmod 400 "$final_path/config/configuration.yml" chown $app:$app "$final_path/config/configuration.yml" +if [[ "$path_url" != "/" ]] +then + echo Redmine::Utils::relative_url_root = "$path_url" >> "$final_path/config/environment.rb" +fi + #================================================= # BUILD APP #=================================================