From cb907c594ad9764bc040257f3f8d2b349ed1c3af Mon Sep 17 00:00:00 2001 From: John Colvin Date: Thu, 7 Oct 2021 08:35:33 +0100 Subject: [PATCH] bluejeans-gui: fix version fetching in update script (#140837) --- .../networking/instant-messengers/bluejeans/update.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/bluejeans/update.sh b/pkgs/applications/networking/instant-messengers/bluejeans/update.sh index 2c527462003e..eb5745bfd8aa 100755 --- a/pkgs/applications/networking/instant-messengers/bluejeans/update.sh +++ b/pkgs/applications/networking/instant-messengers/bluejeans/update.sh @@ -3,10 +3,8 @@ set -eu -o pipefail -version="$(curl -Ls https://www.bluejeans.com/download | \ - pup 'a[aria-label~="Linux"] attr{href}' | \ - #output contains *.deb and *.rpm - grep "\.rpm" | \ +version="$(curl -Ls https://www.bluejeans.com/downloads | \ + pup 'a[href$=".rpm"] attr{href}' | \ awk -F'[ ._ ]' '{printf $6"."$7"."$8"."$9"\n"}')" update-source-version bluejeans-gui "$version"