diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2024-01-07 18:33:34 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-01-09 16:31:19 +0100 |
commit | f9c5727ddc74b9ee3bb95225c30f57c7aeb14806 (patch) | |
tree | 9cda98183b0efcbca8ba45b53d9502a36a0201a3 /manage | |
parent | 60bc5baea31c24a72cfb4f45322e326cc62caf23 (diff) | |
download | searxng-f9c5727ddc74b9ee3bb95225c30f57c7aeb14806.tar.gz searxng-f9c5727ddc74b9ee3bb95225c30f57c7aeb14806.zip |
[mod] get rid of ./utils/brand.env and its workflow
All the environments defined in ./utils/brand.env are generated on the fly, so
there is no longer a need to define the brand environment in this file and all
the workflows to handle this file.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'manage')
-rwxr-xr-x | manage | 26 |
1 files changed, 0 insertions, 26 deletions
@@ -83,8 +83,6 @@ PYLINT_OPTIONS="-m pylint -j 0 --rcfile .pylintrc" help() { nvm.help cat <<EOF -buildenv: - rebuild ./utils/brand.env webapp.: run : run developer instance docs.: @@ -155,29 +153,6 @@ webapp.run() { SEARXNG_DEBUG=1 pyenv.cmd python -m searx.webapp } -buildenv() { - - # settings file from repository's working tree are used by default - SEARXNG_SETTINGS_PATH="${REPO_ROOT}/searx/settings.yml" - - if [ -f /etc/searx/settings.yml ]; then - err_msg "settings.yml in /etc/searx/ is deprecated, move file to folder /etc/searxng/" - fi - - if [ -r '/etc/searxng/settings.yml' ]; then - if ask_yn "should settings read from: /etc/searxng/settings.yml"; then - SEARXNG_SETTINGS_PATH='/etc/searxng/settings.yml' - fi - fi - export SEARXNG_SETTINGS_PATH - ( - set -e - SEARXNG_DEBUG=1 pyenv.cmd python utils/build_env.py 2>&1 \ - | prefix_stdout "${_Blue}BUILDENV${_creset} " - ) - return "${PIPESTATUS[0]}" -} - docker.push() { docker.build push } @@ -345,7 +320,6 @@ pyenv.install() { pyenv build_msg PYENV "[install] pip install -e 'searx${PY_SETUP_EXTRAS}'" "${PY_ENV_BIN}/python" -m pip install -e ".${PY_SETUP_EXTRAS}" - buildenv ) local exit_val=$? if [ ! $exit_val -eq 0 ]; then |