update-check: skip version directories checking when specialized check exists

This commit is contained in:
Piotr Wójcik 2019-04-29 10:30:25 +02:00 committed by Enno Boland
parent 7ae9417947
commit e3e08a087a

View File

@ -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"}