6d9570e9f1
Their website has changed the format in which they display the version, into something a bit more sophisticated.
10 lines
291 B
Bash
Executable file
10 lines
291 B
Bash
Executable file
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -p curl pup common-updater-scripts
|
|
|
|
set -eu -o pipefail
|
|
|
|
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"
|