Skip to content

Commit

Permalink
update_check/gnome: also check for 2.* and 4.* version
Browse files Browse the repository at this point in the history
  • Loading branch information
tornaria committed Oct 11, 2021
1 parent 9af3876 commit 89dfd7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/xbps-src/shutils/update_check.sh
Expand Up @@ -131,7 +131,7 @@ update_check() {
url="https://bitbucket.org/$pkgurlname/downloads"
rx='/(get|downloads)/(v?|\Q'"$pkgname"'\E-)?\K[\d.]+(?=\.tar)';;
*ftp.gnome.org*|*download.gnome.org*)
: ${pattern="\Q$pkgname\E-\K(0|[13]\.[0-9]*[02468]|[4-9][0-9]+)\.[0-9.]*[0-9](?=)"}
: ${pattern="\Q$pkgname\E-\K([0-4]\.[0-9]*[02468]|[4-9][0-9]+)\.[0-9.]*[0-9](?=)"}
url="https://download.gnome.org/sources/$pkgname/cache.json";;
*kernel.org/pub/linux/kernel/*)
rx=linux-'\K'${version%.*}'[\d.]+(?=\.tar\.xz)';;
Expand Down

0 comments on commit 89dfd7e

Please sign in to comment.