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:
parent
89316caf88
commit
5720cc8960
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue