summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-01-20 02:43:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-01-20 02:43:15 +0000
commit1a4f953582d87a97a097ec7f9e8f779e9f2ead64 (patch)
tree8a1f6be257584b4a56de304afcecb0293c45d6e9 /openwrt
parent6c0cb1444a4dadf27021780ea8d159f34c21db9f (diff)
downloadmtk-20170518-1a4f953582d87a97a097ec7f9e8f779e9f2ead64.zip
mtk-20170518-1a4f953582d87a97a097ec7f9e8f779e9f2ead64.tar.gz
mtk-20170518-1a4f953582d87a97a097ec7f9e8f779e9f2ead64.tar.bz2
fix download script for sourceforge urls
SVN-Revision: 3019
Diffstat (limited to 'openwrt')
-rwxr-xr-xopenwrt/scripts/download.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/openwrt/scripts/download.pl b/openwrt/scripts/download.pl
index 9f46810..84c97cf 100755
--- a/openwrt/scripts/download.pl
+++ b/openwrt/scripts/download.pl
@@ -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;