mirror of
https://github.com/YunoHost-Apps/searxng_ynh.git
synced 2024-09-03 20:26:00 +02:00
Fix
This commit is contained in:
parent
9f91034244
commit
5996096144
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
The app install dir is `__INSTALL_DIR__`.
|
The app install dir is `__INSTALL_DIR__`.
|
||||||
Don't edit settings in that directory.
|
Don't edit settings in that directory.
|
||||||
Instead edit them in `__DATA_DIR__/settings.conf`. That file overwrite the default settings thanks to `use_default_settings: true`
|
Instead edit them in `__INSTALL_DIR__/settings.conf`. That file overwrite the default settings thanks to `use_default_settings: true`
|
||||||
|
|
||||||
Please note that this application is a rolling-release (i.e. each commit is a release) and thus is updated very regularly. People not updating frequently may encounter some bugs or disruptions due to the very nature of this software.
|
Please note that this application is a rolling-release (i.e. each commit is a release) and thus is updated very regularly. People not updating frequently may encounter some bugs or disruptions due to the very nature of this software.
|
||||||
|
|
|
@ -32,7 +32,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="$data_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"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALISATION
|
# GENERIC FINALISATION
|
||||||
|
|
Loading…
Reference in a new issue