mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
common/xbps-src/shutils/update_check.sh: fix url for gitlab
This commit is contained in:
parent
742115e531
commit
fc68d5f800
3 changed files with 1 additions and 4 deletions
|
@ -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"
|
|
Loading…
Add table
Reference in a new issue