zoom-us: Make update script get exact version
Their website has changed the format in which they display the version, into something a bit more sophisticated.
This commit is contained in:
parent
60799d134c
commit
6d9570e9f1
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
set -eu -o pipefail
|
set -eu -o pipefail
|
||||||
|
|
||||||
version="$(curl -Ls https://zoom.us/download\?os\=linux | pup '.linux-ver-text text{}' | cut -d' ' -f2)"
|
version="$(curl -Ls https://zoom.us/download\?os\=linux | \
|
||||||
|
pup '.linux-ver-text text{}' | \
|
||||||
|
awk -F'[ ().]' '{printf $2"."$3"."$6"."$7"\n"}')"
|
||||||
|
|
||||||
update-source-version zoom-us "$version"
|
update-source-version zoom-us "$version"
|
||||||
|
Loading…
Reference in New Issue
Block a user