xbps-src: update-check: update gitlab
This commit is contained in:
parent
a23fb173c2
commit
40af6e0fd5
|
@ -51,7 +51,7 @@ update_check() {
|
|||
*gitlab.com*)
|
||||
gitlabname="$(printf %s "$url" | cut -d/ -f4,5)"
|
||||
url="https://gitlab.com/$gitlabname/tags"
|
||||
rx='href="/\Q'$gitlabname'\E/repository/[^\d\.]*\K[\d\.]+(?=/archive\.tar\.gz")';;
|
||||
rx='/archive/[^/]+/\Q'"$pkgname"'\E-v?\K[\d\.]+(?=\.tar\.gz")';;
|
||||
*bitbucket.org*)
|
||||
bbname="$(printf %s "$url" | cut -d/ -f4,5)"
|
||||
url="https://bitbucket.org/$bbname/downloads"
|
||||
|
|
Loading…
Reference in New Issue