mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
bluejeans-gui: fix version fetching in update script (#140837)
This commit is contained in:
parent
9bd53ad913
commit
cb907c594a
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user