From 066018f6e1483995c4510fced3a01566370e3fdb Mon Sep 17 00:00:00 2001 From: Clemens Lutz Date: Wed, 27 Oct 2021 15:23:07 +0200 Subject: [PATCH] zoom-us: Update updater script for new Zoom version syntax 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. --- .../networking/instant-messengers/zoom-us/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/instant-messengers/zoom-us/update.sh b/pkgs/applications/networking/instant-messengers/zoom-us/update.sh index 6ef9ec32538f..3ec1cccd0d64 100755 --- a/pkgs/applications/networking/instant-messengers/zoom-us/update.sh +++ b/pkgs/applications/networking/instant-messengers/zoom-us/update.sh @@ -5,6 +5,6 @@ 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"}')" + awk -F'[ ().]' '{printf $2"."$3"."$4"."$6"\n"}')" update-source-version zoom-us "$version"