Merge pull request #110133 from doronbehar/pkg/zoom-us.2

zoom-us: Make update script get exact version
This commit is contained in:
Sandro 2021-01-31 18:18:46 +01:00 committed by GitHub
commit 074a0e0fe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,8 @@
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"