fix download script for sourceforge urls

SVN-Revision: 3019
owl
Felix Fietkau 2006-01-20 02:43:15 +00:00
parent 6c0cb1444a
commit 1a4f953582
1 changed files with 3 additions and 0 deletions

View File

@ -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;