Skip to content

Commit

Permalink
[fix] searx configuration - quote bash calls in sed replacements
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Heiser <[email protected]>
  • Loading branch information
return42 authored and dalf committed Nov 2, 2020
1 parent edef9d2 commit 45f58a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/build-templates/searx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45f58a4

Please sign in to comment.