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

Update change_url

Update instance_name in settings.yml
This commit is contained in:
CodeShakingSheep 2024-04-14 11:02:30 -05:00 committed by GitHub
parent ae9a68b8cc
commit f9c7dee1f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,6 +33,7 @@ ynh_change_url_nginx_config
ynh_script_progression --message="Reconfiguring SearXNG..." --weight=2 ynh_script_progression --message="Reconfiguring SearXNG..." --weight=2
ynh_replace_string --match_string="base_url: https://$old_domain$old_path" --replace_string="base_url: https://$new_domain$new_path" --target_file="$install_dir/settings.yml" ynh_replace_string --match_string="base_url: https://$old_domain$old_path" --replace_string="base_url: https://$new_domain$new_path" --target_file="$install_dir/settings.yml"
ynh_replace_string --match_string="instance_name: SearXNG - $old_domain" --replace_string="instance_name: SearXNG - $new_domain" --target_file="$install_dir/settings.yml"
#================================================= #=================================================
# GENERIC FINALISATION # GENERIC FINALISATION