From 5c519ec558ddb58cc7ac1ebf6c0bf98eedc987f1 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Mon, 9 Nov 2020 20:33:27 +0100 Subject: [PATCH] Change baseurl in change_url --- scripts/change_url | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/change_url b/scripts/change_url index 8845046..f824a53 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -105,9 +105,15 @@ fi #================================================= # SPECIFIC MODIFICATIONS #================================================= -# ... +# BASE URL #================================================= +# Change the path in system.xml config file +if [ $change_path -eq 1 ] +then + ynh_replace_string --match_string="$old_path" --replace_string="$new_path" --target_file="/etc/jellyfin/system.xml" +fi + #================================================= # GENERIC FINALISATION #=================================================