diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-31 18:18:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-31 18:18:46 +0100 |
commit | 074a0e0fe60a8d67307b7496e5087df1e87365e1 (patch) | |
tree | 2d3a761242c69753f450db47140bdb0493cd3e45 | |
parent | 2dfbfa3b459b170f7a118da547bbdaeca6f99c98 (diff) | |
parent | 6d9570e9f1f02cdfc8918bdf0cff08229ffd005d (diff) |
Merge pull request #110133 from doronbehar/pkg/zoom-us.2
zoom-us: Make update script get exact version
-rwxr-xr-x | pkgs/applications/networking/instant-messengers/zoom-us/update.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/zoom-us/update.sh b/pkgs/applications/networking/instant-messengers/zoom-us/update.sh index bda9c5ae0a07..6ef9ec32538f 100755 --- a/pkgs/applications/networking/instant-messengers/zoom-us/update.sh +++ b/pkgs/applications/networking/instant-messengers/zoom-us/update.sh @@ -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" |