diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2025-07-16 17:52:32 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2025-07-28 12:53:26 +0200 |
| commit | 8c2c3430daf3c1091f1033e87658ef02805a42dd (patch) | |
| tree | ffaeefd710e300e8d3f634e804f4783b4b18398a /utils/lib_sxng_data.sh | |
| parent | cd062d7349b857d25e54db91fd5821b1a4a2d004 (diff) | |
[fix] apply shell formating / shfmt (make format.shell)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/lib_sxng_data.sh')
| -rwxr-xr-x | utils/lib_sxng_data.sh | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/utils/lib_sxng_data.sh b/utils/lib_sxng_data.sh index d24668146..550357fcd 100755 --- a/utils/lib_sxng_data.sh +++ b/utils/lib_sxng_data.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # SPDX-License-Identifier: AGPL-3.0-or-later -data.help(){ +data.help() { cat <<EOF data.: all : update searx/sxng_locales.py and searx/data/* @@ -13,12 +13,13 @@ EOF } data.all() { - ( set -e + ( + set -e pyenv.activate data.traits data.useragents - data.locales + data.locales build_msg DATA "update searx/data/osm_keys_tags.json" pyenv.cmd python searxng_extra/update/update_osm_keys_tags.py @@ -35,9 +36,9 @@ data.all() { ) } - data.traits() { - ( set -e + ( + set -e pyenv.activate build_msg DATA "update searx/data/engine_traits.json" python searxng_extra/update/update_engine_traits.py @@ -53,7 +54,8 @@ data.useragents() { } data.locales() { - ( set -e + ( + set -e pyenv.activate build_msg DATA "update searx/data/locales.json" python searxng_extra/update/update_locales.py @@ -61,8 +63,9 @@ data.locales() { dump_return $? } -data.currencies(){ - ( set -e +data.currencies() { + ( + set -e pyenv.activate build_msg DATA "update searx/data/currencies.json" python searxng_extra/update/update_currencies.py |