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/misc | |
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/misc')
-rwxr-xr-x | pkgs/misc/jitsi-meet-prosody/update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/misc/jitsi-meet-prosody/update.sh b/pkgs/misc/jitsi-meet-prosody/update.sh index bc039d1ba8e82..3c3695b1f6ada 100755 --- a/pkgs/misc/jitsi-meet-prosody/update.sh +++ b/pkgs/misc/jitsi-meet-prosody/update.sh @@ -6,7 +6,7 @@ set -eu -o pipefail version="$(curl https://download.jitsi.org/stable/ | \ pup 'a[href] text{}' | \ awk -F'[_-]' '/jitsi-meet-prosody/ {printf $4"\n"}' | \ - sort -u | \ + sort -Vu | \ tail -n 1)" update-source-version jitsi-meet-prosody "$version" |