diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-12-24 10:05:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-24 10:05:20 +0100 |
| commit | 7bef2cc8dc8f85e6954803a50b66da26f05a2562 (patch) | |
| tree | 03b3ec0eaf0509b5c5c4435d1f7bcc1127d20fe0 /manage | |
| parent | 6300b0b4b2f620168143787a4dd8450b906b92a9 (diff) | |
| parent | 81abc5f4c2d9373ef6f5287f6efd6b4d1f79e6c6 (diff) | |
Merge pull request #548 from searxng/dependabot/pip/master/selenium-4.1.0
Bump selenium from 3.141.0 to 4.1.0
Diffstat (limited to 'manage')
| -rwxr-xr-x | manage | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -21,7 +21,7 @@ source "$(dirname "${BASH_SOURCE[0]}")/utils/lib_go.sh" PYOBJECTS="searx" PY_SETUP_EXTRAS='[test]' -GECKODRIVER_VERSION="v0.28.0" +GECKODRIVER_VERSION="v0.30.0" export NODE_MINIMUM_VERSION="16.13.0" # SPHINXOPTS= @@ -485,10 +485,9 @@ gecko.driver() { ( set -e pyenv.activate - # TODO : check the current geckodriver version - geckodriver -V > /dev/null 2>&1 || NOTFOUND=1 + INSTALLED_VERSION=$(geckodriver -V 2> /dev/null | head -1 | awk '{ print "v" $2}') || INSTALLED_VERSION="" set +e - if [ -z "$NOTFOUND" ]; then + if [ "${INSTALLED_VERSION}" = "${GECKODRIVER_VERSION}" ]; then build_msg INSTALL "geckodriver already installed" return fi |