diff options
author | Erich Eckner <git@eckner.net> | 2021-05-26 08:44:21 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-05-26 08:44:21 +0200 |
commit | c924e9c426a960be56e06ed97506b950841cc3ca (patch) | |
tree | f3fb4c45ec9913ac11fa9c6257a5d80b3a2c53c5 /checkVersions | |
parent | 63ba884733080417d3fc78ad6da4b119b5cf4812 (diff) | |
download | archlinuxewe-c924e9c426a960be56e06ed97506b950841cc3ca.tar.xz |
checkVersions: learn zoom
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/checkVersions b/checkVersions index ea7d33516..71b3a0a7a 100755 --- a/checkVersions +++ b/checkVersions @@ -1190,6 +1190,16 @@ then ) elif [ "${pkgname}" = 'bind-next' ]; then remVer="${pkgver}" + elif echo "${src}" \ + | grep -q '//zoom\.us/client/'; then + remVer=$( + curl_it 'https://zoom.us/download' --user-agent 'Mozilla/5.0 (X11; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0' \ + | sed ' + s@^.*<span class="linux-ver-text"[^>]*>Version \([0-9.]\+\) (\([0-9.]\+\))</span>.*$@\1.\2@ + t + d + ' + ) else continue fi |