mirror of https://github.com/hak5/openwrt.git
Fit new sourceforge.net download page layout, thanks to Fabian Deutsch for reporting the bug and submitting the patch.
SVN-Revision: 3310lede-17.01
parent
ec76aab01a
commit
ab043b92c1
|
@ -59,6 +59,7 @@ foreach my $mirror (@ARGV) {
|
||||||
my $sfpath = $1;
|
my $sfpath = $1;
|
||||||
open SF, "wget -t1 -q -O- 'http://prdownloads.sourceforge.net/$sfpath/$filename' |";
|
open SF, "wget -t1 -q -O- 'http://prdownloads.sourceforge.net/$sfpath/$filename' |";
|
||||||
while (<SF>) {
|
while (<SF>) {
|
||||||
|
/RADIO NAME=use_default VALUE=(\w+) OnClick="form\.submit\(\)">/ or
|
||||||
/type="radio" name="use_default" value="(\w+)" onclick="form\.submit\(\)"\/>/ and do {
|
/type="radio" name="use_default" value="(\w+)" onclick="form\.submit\(\)"\/>/ and do {
|
||||||
push @mirrors, "http://$1.dl.sourceforge.net/sourceforge/$sfpath";
|
push @mirrors, "http://$1.dl.sourceforge.net/sourceforge/$sfpath";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue