diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-10-27 17:26:47 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2020-11-02 10:02:59 +0100 |
commit | 45f58a4a2a0b89f4b416c28ea769139b16f6436d (patch) | |
tree | 8011c117d3b1f58adc03c3a3406e57c9c1fa4335 /docs/build-templates | |
parent | edef9d2f874fa8debe9b5820eda2aa1c65b3cde9 (diff) | |
download | searxng-45f58a4a2a0b89f4b416c28ea769139b16f6436d.tar.gz searxng-45f58a4a2a0b89f4b416c28ea769139b16f6436d.zip |
[fix] searx configuration - quote bash calls in sed replacements
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs/build-templates')
-rw-r--r-- | docs/build-templates/searx.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/build-templates/searx.rst b/docs/build-templates/searx.rst index b800e027f..080de293f 100644 --- a/docs/build-templates/searx.rst +++ b/docs/build-templates/searx.rst @@ -134,8 +134,8 @@ ${fedora_build} $ sudo -H mkdir -p \"$(dirname ${SEARX_SETTINGS_PATH})\" $ sudo -H cp \"$SEARX_SRC/searx/settings.yml\" \"${SEARX_SETTINGS_PATH}\" - $ sudo -H sed -i -e \"s/ultrasecretkey/\\$(openssl rand -hex 16)/g\" \"$SEARX_SETTINGS_PATH\" - $ sudo -H sed -i -e \"s/{instance_name}/searx@\\$(uname -n)/g\" \"$SEARX_SETTINGS_PATH\" + $ sudo -H sed -i -e \"s/ultrasecretkey/\$(openssl rand -hex 16)/g\" \"$SEARX_SETTINGS_PATH\" + $ sudo -H sed -i -e \"s/{instance_name}/searx@\$(uname -n)/g\" \"$SEARX_SETTINGS_PATH\" .. END searx config |