From e3e08a087ae477d4c8312ef1c32068a6eac87421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Mon, 29 Apr 2019 10:30:25 +0200 Subject: [PATCH] update-check: skip version directories checking when specialized check exists --- common/xbps-src/shutils/update_check.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/common/xbps-src/shutils/update_check.sh b/common/xbps-src/shutils/update_check.sh index 4086862766e..870fea05a7c 100644 --- a/common/xbps-src/shutils/update_check.sh +++ b/common/xbps-src/shutils/update_check.sh @@ -41,6 +41,21 @@ update_check() { urlsfx= dirpfx= case "$url" in + *.voidlinux.*|\ + *sourceforge.net/sourceforge*|\ + *code.google.com*|*googlecode*|\ + *launchpad.net*|\ + *cpan.*|\ + *pythonhosted.org*|\ + *github.com*|\ + *gitlab.com*|*gitlab.gnome.org*|*gitlab.freedesktop.org*|\ + *bitbucket.org*|\ + *ftp.gnome.org*|\ + *kernel.org/pub/linux/kernel/*|\ + *cran.r-project.org/src/contrib*|\ + *rubygems.org*) + continue + ;; *) vdpfx=${vdprefix:-"|v|\\Q$pkgname\\E"} vdsfx=${vdsuffix:-"|\\.x"}