forked from mirrors/nixpkgs
066018f6e1
Since version 5.8.0 (16) the zoom.us version naming scheme has changed. Instead of x.y.z (a.b), the new scheme is x.y.z (a). This commit adapts the awk script to extract versions from the new naming scheme.
11 lines
291 B
Bash
Executable file
11 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"."$4"."$6"\n"}')"
|
|
|
|
update-source-version zoom-us "$version"
|