mirror of
https://github.com/searxng/searxng.git
synced 2025-07-15 09:19:20 +02:00
[fix] utils/searx.sh install settings - do not eval the template
The settings template in utils/templates/etc/searx/settings.yml does not include any replacements (shell environment variables). BTW: utils/filtron.sh & utils/lib.sh Add some more messages to installation procedures, to be more clear. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
102c815231
commit
8ba4dc26d1
3 changed files with 9 additions and 2 deletions
|
@ -437,7 +437,8 @@ install_template() {
|
|||
|
||||
if [[ "$do_eval" == "1" ]]; then
|
||||
template_file="${CACHE}${dst}${variant}"
|
||||
info_msg "BUILD template ${template_file}"
|
||||
info_msg "BUILD ${template_file}"
|
||||
info_msg "BUILD using template ${template_origin}"
|
||||
if [[ -n ${SUDO_USER} ]]; then
|
||||
sudo -u "${SUDO_USER}" mkdir -p "$(dirname "${template_file}")"
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue