From e176a39b72479b5f16c2b3d08df1260bc8601b2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Wed, 1 May 2024 11:13:11 +0200 Subject: [PATCH] Fix change url --- scripts/change_url | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/change_url b/scripts/change_url index c711c18..6787012 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -8,6 +8,8 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app ynh_change_url_nginx_config +prefix="${path#"/"}/" +prefix=${prefix%"/"} ynh_add_jinja_config --template=local.py.j2 --destination="$install_dir/coin/settings_local.py" chmod 400 "$install_dir/coin/settings_local.py"