diff options
| author | Felix Fietkau <nbd@openwrt.org> | 2006-01-20 02:43:15 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@openwrt.org> | 2006-01-20 02:43:15 +0000 |
| commit | 6dc38cb933f4de7b2d0146aeb697b8c90067f5c5 (patch) | |
| tree | 4c5b0514c2263a5075452cbe9a26dfc41b127eaa | |
| parent | e80aa99bed7dbaf18e7c1e17869f8bcb637e673d (diff) | |
| download | upstream-6dc38cb933f4de7b2d0146aeb697b8c90067f5c5.tar.gz upstream-6dc38cb933f4de7b2d0146aeb697b8c90067f5c5.tar.bz2 upstream-6dc38cb933f4de7b2d0146aeb697b8c90067f5c5.zip | |
fix download script for sourceforge urls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3019 3c298f89-4303-0410-b956-a3cf2f4a3e73
| -rwxr-xr-x | openwrt/scripts/download.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openwrt/scripts/download.pl b/openwrt/scripts/download.pl index 9f46810a823..84c97cf9a92 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"; }; + /<a href="\/.+\?use_mirror=(\w+)"><b>Download/ and do { + push @mirrors, "http://$1.dl.sourceforge.net/sourceforge/$sfpath"; + }; } push @mirrors, "http://dl.sourceforge.net/sourceforge/$sfpath"; close SF; |
