From 40af6e0fd50132fb55b2e7d0d56338b18044203d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Fri, 11 May 2018 23:16:53 +0200 Subject: [PATCH] xbps-src: update-check: update gitlab --- common/xbps-src/shutils/update_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/xbps-src/shutils/update_check.sh b/common/xbps-src/shutils/update_check.sh index ab866ae492..25289f8ef4 100644 --- a/common/xbps-src/shutils/update_check.sh +++ b/common/xbps-src/shutils/update_check.sh @@ -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"