mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 18:35:55 +02:00
fix sourceforge mirrors, thx d1mag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2582 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a16da73ed4
commit
782b6debb8
@ -59,7 +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\(\)">/ 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
Block a user