diff options
author | Cleeyv <cleeyv@riseup.net> | 2022-10-22 12:11:18 +0200 |
---|---|---|
committer | Cleeyv <cleeyv@riseup.net> | 2022-10-22 12:11:18 +0200 |
commit | 705e150b600fb56273b3479bb3265533d687fd2f (patch) | |
tree | dfe39ff6c3dd351b7b81fec9d5bf30c8f9a133d6 /pkgs/servers/jicofo | |
parent | b6b3d3c13bb73337aed6c9ee1e5eb4fc1e0daee0 (diff) |
jitsi: fix update scripts
To consistently return the latest version number even when it is no longer at the bottom of the alphanumeric list on the Jitsi stable download page. Based on fix by @sbruder in 13760b87d2067dec6afa76859f3e69027bc2e139
Diffstat (limited to 'pkgs/servers/jicofo')
-rwxr-xr-x | pkgs/servers/jicofo/update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/jicofo/update.sh b/pkgs/servers/jicofo/update.sh index 538e17d93da7b..1b72920ac33b9 100755 --- a/pkgs/servers/jicofo/update.sh +++ b/pkgs/servers/jicofo/update.sh @@ -6,7 +6,7 @@ set -eu -o pipefail version="$(curl https://download.jitsi.org/stable/ | \ pup 'a[href] text{}' | \ awk -F'[_-]' '/jicofo/ {printf $2"-"$3"\n"}' | \ - sort -u | \ + sort -Vu | \ tail -n 1)" update-source-version jicofo "$version" |