common/xbps-src/shutils/update_check.sh: fix url for gitlab
This commit is contained in:
parent
742115e531
commit
fc68d5f800
|
@ -136,7 +136,7 @@ update_check() {
|
|||
*/-/*) pkgurlname="$(printf %s "$url" | sed -e 's%/-/.*%%g; s%/$%%')";;
|
||||
*) pkgurlname="$(printf %s "$url" | cut -d / -f 1-5)";;
|
||||
esac
|
||||
url="$pkgurlname/tags"
|
||||
url="$pkgurlname/-/tags"
|
||||
rx='/archive/[^/]+/\Q'"$pkgname"'\E-v?\K[\d.]+(?=\.tar\.gz")';;
|
||||
*bitbucket.org*)
|
||||
pkgurlname="$(printf %s "$url" | cut -d/ -f4,5)"
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
site="https://gitlab.com/shackra/goimapnotify/-/tags/"
|
||||
pattern="goimapnotify-\K[\d.]*(?=\.tar\.gz)"
|
|
@ -1 +0,0 @@
|
|||
site="https://gitlab.com/postmarketOS/megapixels/-/tags"
|
Loading…
Reference in New Issue