From: Felix Fietkau Date: Fri, 20 Jan 2006 02:43:15 +0000 (+0000) Subject: fix download script for sourceforge urls X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1a4f953582d87a97a097ec7f9e8f779e9f2ead64;p=librecmc%2Flibrecmc.git fix download script for sourceforge urls SVN-Revision: 3019 --- diff --git a/openwrt/scripts/download.pl b/openwrt/scripts/download.pl index 9f46810a82..84c97cf9a9 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"; }; + /Download/ and do { + push @mirrors, "http://$1.dl.sourceforge.net/sourceforge/$sfpath"; + }; } push @mirrors, "http://dl.sourceforge.net/sourceforge/$sfpath"; close SF;