[openwrt/openwrt] download: use mirror redirector for GNOME downloads

LEDE Commits lede-commits at lists.infradead.org
Fri Feb 26 14:43:37 EST 2021


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/01c01d9861d26af53b88f15cb13283af5d9685a9

commit 01c01d9861d26af53b88f15cb13283af5d9685a9
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Sat Feb 20 19:18:32 2021 +0100

    download: use mirror redirector for GNOME downloads
    
    Use the GNOME mirror redirector as the primary download source for GNOME
    packages.
    
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 scripts/download.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/download.pl b/scripts/download.pl
index beb3abdeee..772982d1f2 100755
--- a/scripts/download.pl
+++ b/scripts/download.pl
@@ -245,6 +245,7 @@ foreach my $mirror (@ARGV) {
 			push @mirrors, "ftp://www.mirrorservice.org/sites/ftp.kernel.org/pub/$dir";
 		}
 	} elsif ($mirror =~ /^\@GNOME\/(.+)$/) {
+		push @mirrors, "https://download.gnome.org/sources/$1";
 		push @mirrors, "https://mirror.csclub.uwaterloo.ca/gnome/sources/$1";
 		push @mirrors, "http://ftp.acc.umu.se/pub/GNOME/sources/$1";
 		push @mirrors, "http://ftp.kaist.ac.kr/gnome/sources/$1";



More information about the lede-commits mailing list