diff options
Diffstat (limited to 'utils')
| -rwxr-xr-x | utils/lib_sxng_data.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/lib_sxng_data.sh b/utils/lib_sxng_data.sh index ab1204de6..d24668146 100755 --- a/utils/lib_sxng_data.sh +++ b/utils/lib_sxng_data.sh @@ -8,6 +8,7 @@ data.: traits : update searx/data/engine_traits.json & searx/sxng_locales.py useragents: update searx/data/useragents.json with the most recent versions of Firefox locales : update searx/data/locales.json from babel + currencies: update searx/data/currencies.json from wikidata EOF } @@ -59,3 +60,12 @@ data.locales() { ) dump_return $? } + +data.currencies(){ + ( set -e + pyenv.activate + build_msg DATA "update searx/data/currencies.json" + python searxng_extra/update/update_currencies.py + ) + dump_return $? +} |