From 8747f57116ea0c16fecd0ef6099ead1250a689b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 12 Jul 2024 22:52:58 +0200 Subject: [PATCH] Try to fix change_url --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index c852c75..3d1b376 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -21,7 +21,7 @@ _configure_framagames() { # %/ is here to prevent double slash ynh_replace_string --target_file="$install_dir/sources/config/env.js" \ - --match_string=": '/'," \ + --match_string=": '${old_path:-}/'," \ --replace_string=": '${path%/}/'," }