1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyfin_ynh.git synced 2024-09-03 19:26:29 +02:00

Change baseurl in change_url

This commit is contained in:
tituspijean 2020-11-09 20:33:27 +01:00
parent 069ae32a83
commit 5c519ec558

View file

@ -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="<BaseUrl>$old_path</BaseUrl>" --replace_string="<BaseUrl>$new_path</BaseUrl>" --target_file="/etc/jellyfin/system.xml"
fi
#=================================================
# GENERIC FINALISATION
#=================================================