xbps-src: update-check: update gitlab
This commit is contained in:
parent
a23fb173c2
commit
40af6e0fd5
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ update_check() {
|
||||||
*gitlab.com*)
|
*gitlab.com*)
|
||||||
gitlabname="$(printf %s "$url" | cut -d/ -f4,5)"
|
gitlabname="$(printf %s "$url" | cut -d/ -f4,5)"
|
||||||
url="https://gitlab.com/$gitlabname/tags"
|
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*)
|
*bitbucket.org*)
|
||||||
bbname="$(printf %s "$url" | cut -d/ -f4,5)"
|
bbname="$(printf %s "$url" | cut -d/ -f4,5)"
|
||||||
url="https://bitbucket.org/$bbname/downloads"
|
url="https://bitbucket.org/$bbname/downloads"
|
||||||
|
|
Loading…
Reference in a new issue