common/xbps-src/shutils/update_check.sh: fix url for gitlab
This commit is contained in:
@@ -136,7 +136,7 @@ update_check() {
|
|||||||
*/-/*) pkgurlname="$(printf %s "$url" | sed -e 's%/-/.*%%g; s%/$%%')";;
|
*/-/*) pkgurlname="$(printf %s "$url" | sed -e 's%/-/.*%%g; s%/$%%')";;
|
||||||
*) pkgurlname="$(printf %s "$url" | cut -d / -f 1-5)";;
|
*) pkgurlname="$(printf %s "$url" | cut -d / -f 1-5)";;
|
||||||
esac
|
esac
|
||||||
url="$pkgurlname/tags"
|
url="$pkgurlname/-/tags"
|
||||||
rx='/archive/[^/]+/\Q'"$pkgname"'\E-v?\K[\d.]+(?=\.tar\.gz")';;
|
rx='/archive/[^/]+/\Q'"$pkgname"'\E-v?\K[\d.]+(?=\.tar\.gz")';;
|
||||||
*bitbucket.org*)
|
*bitbucket.org*)
|
||||||
pkgurlname="$(printf %s "$url" | cut -d/ -f4,5)"
|
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"
|
|
||||||
Reference in New Issue
Block a user