lol

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

Cleeyv 705e150b b6b3d3c1

+4 -4
+1 -1
pkgs/misc/jitsi-meet-prosody/update.sh
··· 6 6 version="$(curl https://download.jitsi.org/stable/ | \ 7 7 pup 'a[href] text{}' | \ 8 8 awk -F'[_-]' '/jitsi-meet-prosody/ {printf $4"\n"}' | \ 9 - sort -u | \ 9 + sort -Vu | \ 10 10 tail -n 1)" 11 11 12 12 update-source-version jitsi-meet-prosody "$version"
+1 -1
pkgs/servers/jibri/update.sh
··· 6 6 version="$(curl https://download.jitsi.org/stable/ | \ 7 7 pup 'a[href] text{}' | \ 8 8 awk -F'[_-]' '/jibri/ {printf $2"-"$3"-"$4"\n"}' | \ 9 - sort -u | \ 9 + sort -Vu | \ 10 10 tail -n 1)" 11 11 12 12 update-source-version jibri "$version"
+1 -1
pkgs/servers/jicofo/update.sh
··· 6 6 version="$(curl https://download.jitsi.org/stable/ | \ 7 7 pup 'a[href] text{}' | \ 8 8 awk -F'[_-]' '/jicofo/ {printf $2"-"$3"\n"}' | \ 9 - sort -u | \ 9 + sort -Vu | \ 10 10 tail -n 1)" 11 11 12 12 update-source-version jicofo "$version"
+1 -1
pkgs/servers/web-apps/jitsi-meet/update.sh
··· 6 6 version="$(curl https://download.jitsi.org/stable/ | \ 7 7 pup 'a[href] text{}' | \ 8 8 awk -F'[_-]' '/jitsi-meet-web_/ {printf $4"\n"}' | \ 9 - sort -u | \ 9 + sort -Vu | \ 10 10 tail -n 1)" 11 11 12 12 update-source-version jitsi-meet "$version"