1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bazarr_ynh.git synced 2024-09-03 18:06:27 +02:00

Fix change_url after config file change

This commit is contained in:
tituspijean 2024-05-11 13:10:36 +02:00
parent 89316caf88
commit 5720cc8960
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 2 additions and 2 deletions

View file

@ -34,9 +34,9 @@ ynh_script_progression --message="Updating the configuration file..." --weight=1
if [ $change_path -eq 1 ]
then
ynh_replace_string --match_string="base_url = .*" --replace_string="base_url = ${new_path:-/}" --target_file="$install_dir/data/config/config.ini"
ynh_replace_string --match_string="base_url: .*" --replace_string="base_url: ${new_path:-/}" --target_file="$install_dir/data/config/config.yaml"
ynh_store_file_checksum --file="$install_dir/data/config/config.ini"
ynh_store_file_checksum --file="$install_dir/data/config/config.yaml"
fi
#=================================================