xbps-src: update-check: allow any compression on bitbucket
This commit is contained in:
parent
618a976426
commit
02049148bf
|
@ -55,7 +55,7 @@ update_check() {
|
|||
*bitbucket.org*)
|
||||
bbname="$(printf %s "$url" | cut -d/ -f4,5)"
|
||||
url="https://bitbucket.org/$bbname/downloads"
|
||||
rx='/(get|downloads)/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")';;
|
||||
rx='/(get|downloads)/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar)';;
|
||||
*ftp.gnome.org*)
|
||||
: ${pattern="\Q$pkgname\E-\K[0-9]\.[0-9]*[02468]\.[0-9.]*[0-9](?=)"}
|
||||
url="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/cache.json";;
|
||||
|
|
Loading…
Reference in New Issue