From e5626f81c76c74bde1f6ed26e4a7f77dc460c425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 10 Jun 2021 09:14:25 +0700 Subject: [PATCH] update_check: support pkgs.fedoraproject.org --- common/xbps-src/shutils/update_check.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/xbps-src/shutils/update_check.sh b/common/xbps-src/shutils/update_check.sh index fcfbf31759..0a624274f5 100644 --- a/common/xbps-src/shutils/update_check.sh +++ b/common/xbps-src/shutils/update_check.sh @@ -155,6 +155,8 @@ update_check() { pkgurlname="$(printf %s "$url" | cut -d/ -f4,5)" url="https://git.sr.ht/$pkgurlname/refs" rx='/archive/(v?|\Q'"$pkgname"'\E-)?\K[\d.]+(?=\.tar\.gz")';; + *pkgs.fedoraproject.org*) + url="https://pkgs.fedoraproject.org/repo/pkgs/$pkgname" ;; esac fi