diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-04-24 07:14:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-24 07:14:35 +0200 |
| commit | a7b9eca98a196052bed8168ff11d13456851b04f (patch) | |
| tree | fcafca4b1c2b95f5e789275d7fd64b9d578c13fb /utils/searx.sh | |
| parent | fe064a5c390f7b85aa0e7b207b38129cca2ccc17 (diff) | |
| parent | abd423cbf8fd221c855eeabc5f3a61b7954e3961 (diff) | |
Merge pull request #8 from return42/manage-script
Replace Makefile boilerplate by shell scripts
Diffstat (limited to 'utils/searx.sh')
| -rwxr-xr-x | utils/searx.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/searx.sh b/utils/searx.sh index d2dbe79b6..2d2358344 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}" @@ -481,7 +481,7 @@ pyenv_is_available() { create_pyenv() { rst_title "Create virtualenv (python)" section echo - if [[ ! -f "${SEARX_SRC}/manage.sh" ]]; then + if [[ ! -f "${SEARX_SRC}/manage" ]]; then err_msg "to create pyenv for searx, searx has to be cloned first" return 42 fi |