common/update_check: add gnome.gitlab.org
Closes #14671. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
parent
aae488c263
commit
b996b25d67
1 changed files with 3 additions and 3 deletions
|
@ -48,9 +48,9 @@ update_check() {
|
|||
githubname="$(printf %s "$url" | cut -d/ -f4,5)"
|
||||
url="https://github.com/$githubname/tags"
|
||||
rx='/archive/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")';;
|
||||
*gitlab.com*)
|
||||
gitlabname="$(printf %s "$url" | cut -d/ -f4,5)"
|
||||
url="https://gitlab.com/$gitlabname/tags"
|
||||
*gitlab.com*|*gitlab.gnome.org*)
|
||||
gitlaburl="$(printf %s "$url" | cut -d/ -f1-5)"
|
||||
url="$gitlaburl/tags"
|
||||
rx='/archive/[^/]+/\Q'"$pkgname"'\E-v?\K[\d\.]+(?=\.tar\.gz")';;
|
||||
*bitbucket.org*)
|
||||
bbname="$(printf %s "$url" | cut -d/ -f4,5)"
|
||||
|
|
Loading…
Reference in a new issue