1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-20 15:17:15 +03:00

Fit new sourceforge.net download page layout, thanks to Fabian Deutsch for reporting the bug and submitting the patch.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3310 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2006-03-05 16:14:04 +00:00
parent 82f39ae45e
commit 252fea251e

View File

@ -59,6 +59,7 @@ foreach my $mirror (@ARGV) {
my $sfpath = $1;
open SF, "wget -t1 -q -O- 'http://prdownloads.sourceforge.net/$sfpath/$filename' |";
while (<SF>) {
/RADIO NAME=use_default VALUE=(\w+) OnClick="form\.submit\(\)">/ or
/type="radio" name="use_default" value="(\w+)" onclick="form\.submit\(\)"\/>/ and do {
push @mirrors, "http://$1.dl.sourceforge.net/sourceforge/$sfpath";
};