xbps-src: update-check: update gitlab

This commit is contained in:
Piotr Wójcik 2018-05-11 23:16:53 +02:00 committed by Enno Boland
parent a23fb173c2
commit 40af6e0fd5
1 changed files with 1 additions and 1 deletions

View File

@ -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"