From a5375929b95a1bb780474bc184eba6dfa370cda5 Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 20 Jan 2006 02:43:15 +0000 Subject: fix download script for sourceforge urls git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3019 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/scripts/download.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openwrt/scripts') diff --git a/openwrt/scripts/download.pl b/openwrt/scripts/download.pl index 9f46810a8..84c97cf9a 100755 --- a/openwrt/scripts/download.pl +++ b/openwrt/scripts/download.pl @@ -62,6 +62,9 @@ foreach my $mirror (@ARGV) { /type="radio" name="use_default" value="(\w+)" onclick="form\.submit\(\)"\/>/ and do { push @mirrors, "http://$1.dl.sourceforge.net/sourceforge/$sfpath"; }; + /Download/ and do { + push @mirrors, "http://$1.dl.sourceforge.net/sourceforge/$sfpath"; + }; } push @mirrors, "http://dl.sourceforge.net/sourceforge/$sfpath"; close SF; -- cgit v1.2.3