From 5dc4ad2b355c09829899b9d5b24ebeafa8377d7f Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 3 Jul 2022 03:44:27 +0200 Subject: [PATCH] Fix #6 --- scripts/install | 1 + scripts/upgrade | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index e5da697..03b09bb 100755 --- a/scripts/install +++ b/scripts/install @@ -83,6 +83,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1 ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" +ynh_replace_string --match_string="https://sutom.nocle.fr" --replace_string="https://$domain$path_url" --target_file="$final_path/ts/finDePartiePanel.ts" chmod 750 "$final_path" chmod -R o-rwx "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index acf7b35..24b4f53 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -78,6 +78,7 @@ ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" +ynh_replace_string --match_string="https://sutom.nocle.fr" --replace_string="https://$domain$path_url" --target_file="$final_path/ts/finDePartiePanel.ts" chmod 750 "$final_path" chmod -R o-rwx "$final_path"