summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-03-05 16:14:04 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-03-05 16:14:04 +0000
commitab043b92c1bd7283e7a6db6403c7c49ebebd78c4 (patch)
tree1638cf3ceb41850cc6b5f1f73dd0e7a33087d3f3 /openwrt
parentec76aab01aac7c654ddeaf99533f9b7c876f19fc (diff)
downloadmtk-20170518-ab043b92c1bd7283e7a6db6403c7c49ebebd78c4.zip
mtk-20170518-ab043b92c1bd7283e7a6db6403c7c49ebebd78c4.tar.gz
mtk-20170518-ab043b92c1bd7283e7a6db6403c7c49ebebd78c4.tar.bz2
Fit new sourceforge.net download page layout, thanks to Fabian Deutsch for reporting the bug and submitting the patch.
SVN-Revision: 3310
Diffstat (limited to 'openwrt')
-rwxr-xr-xopenwrt/scripts/download.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/scripts/download.pl b/openwrt/scripts/download.pl
index 84c97cf..fd55ba2 100755
--- a/openwrt/scripts/download.pl
+++ b/openwrt/scripts/download.pl
@@ -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";
};