summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/searx.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/searx.sh b/utils/searx.sh
index d2dbe79b6..578438698 100755
--- a/utils/searx.sh
+++ b/utils/searx.sh
@@ -418,9 +418,9 @@ install_settings() {
err_msg "you have to install searx first"
exit 42
fi
- mkdir -p "$(dirname ${SEARX_SETTINGS_PATH})"
+ mkdir -p "$(dirname "${SEARX_SETTINGS_PATH}")"
- if [[ ! -f ${SEARX_SETTINGS_PATH} ]]; then
+ if [[ ! -f "${SEARX_SETTINGS_PATH}" ]]; then
info_msg "install settings ${SEARX_SETTINGS_TEMPLATE}"
info_msg " --> ${SEARX_SETTINGS_PATH}"
cp "${SEARX_SETTINGS_TEMPLATE}" "${SEARX_SETTINGS_PATH}"