From 144a59a796ecdb668c8130380415a87d0b37d3f9 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Fri, 12 Feb 2016 00:11:07 +0100 Subject: [PATCH] srcpkgs: fix MOZILLA_SITE update checks. --- common/environment/setup/misc.sh | 2 +- srcpkgs/firefox/update | 4 ++-- srcpkgs/thunderbird/update | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/environment/setup/misc.sh b/common/environment/setup/misc.sh index 03a1ec57415..db81c577af6 100644 --- a/common/environment/setup/misc.sh +++ b/common/environment/setup/misc.sh @@ -14,7 +14,7 @@ KERNEL_SITE="http://www.kernel.org/pub/linux" #KERNEL_SITE="http://mirror.be.gbxs.net/pub/linux" CPAN_SITE="http://cpan.perl.org/modules/by-module" PYPI_SITE="http://pypi.python.org/packages/source" -MOZILLA_SITE="http://ftp.mozilla.org/pub/mozilla.org" +MOZILLA_SITE="http://ftp.mozilla.org/pub" GNU_SITE="http://ftp.gnu.org/gnu" FREEDESKTOP_SITE="http://freedesktop.org/software" diff --git a/srcpkgs/firefox/update b/srcpkgs/firefox/update index 9b57a78bf72..946c8a7aaa4 100644 --- a/srcpkgs/firefox/update +++ b/srcpkgs/firefox/update @@ -1,2 +1,2 @@ -pattern="href=\"\K[\d.]+(?=/\")" -site="${MOZILLA_SITE}/firefox/releases/" +site="${MOZILLA_SITE}/${pkgname}/releases/" +pattern="\">\K[0-9.]+(?=/)" diff --git a/srcpkgs/thunderbird/update b/srcpkgs/thunderbird/update index 3a7767f493f..946c8a7aaa4 100644 --- a/srcpkgs/thunderbird/update +++ b/srcpkgs/thunderbird/update @@ -1,2 +1,2 @@ -site="${MOZILLA_SITE}/${pkgname}/releases" +site="${MOZILLA_SITE}/${pkgname}/releases/" pattern="\">\K[0-9.]+(?=/)"