mirror of
https://github.com/immortalwrt/immortalwrt.git
synced 2025-08-14 14:19:53 +08:00
fix download script for sourceforge urls
SVN-Revision: 3019
This commit is contained in:
@ -62,6 +62,9 @@ foreach my $mirror (@ARGV) {
|
|||||||
/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";
|
||||||
};
|
};
|
||||||
|
/<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";
|
push @mirrors, "http://dl.sourceforge.net/sourceforge/$sfpath";
|
||||||
close SF;
|
close SF;
|
||||||
|
Reference in New Issue
Block a user