mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
6d9570e9f1
Their website has changed the format in which they display the version, into something a bit more sophisticated.
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"."$6"."$7"\n"}')"
|
|
|
|
update-source-version zoom-us "$version"
|