about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/zoom-us/update.sh
blob: 3ec1cccd0d64a5cc6da999924e7b8fb2b54ef8b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/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"