From: Joern-Ingo Weigert Date: Sat, 2 Mar 2013 19:06:03 +0000 (+0100) Subject: updateaxelerator: Adding line to hint where to add new sources. X-Git-Tag: v2.13-core67~10^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f6b044f7fcf5b972bab5c9551855eccfdd968f8;p=people%2Fms%2Fipfire-2.x.git updateaxelerator: Adding line to hint where to add new sources. Fixes #10253. --- diff --git a/config/updxlrator/updxlrator b/config/updxlrator/updxlrator index 4aaa38938c..bea3dab0c8 100644 --- a/config/updxlrator/updxlrator +++ b/config/updxlrator/updxlrator @@ -8,6 +8,11 @@ # # $Id: updxlrator,v 2.1 2009/01/10 00:00:00 marco.s Exp $ # +# ChangeLog: +# +# 2012-10-26: nightshift - move curly bracket to capture AVG download source. +# - Adding BIG HINT for new update source# +# use strict; use HTTP::Date; @@ -88,6 +93,7 @@ while (<>) { # Section: Adobe Downloads # ----------------------------------------------------------- + if ( ($source_url =~ m@^http://(ar)?download\.adobe\.com/.*\.(exe|msi|bin|dmg|idx|gz)$@i) || ($source_url =~ m@^http://swupdl\.adobe\.com/updates/.*\.(exe|msi|bin|dmg|idx|gz|[a-z][a-z]_[A-Z][A-Z])$@i) || @@ -178,8 +184,6 @@ while (<>) { $xlrator_url = &check_cache($source_url,$hostaddr,$username,"IPFire",$mirror); } - } - # ----------------------------------------------------------- # Section: AVG Downloads # ----------------------------------------------------------- @@ -189,6 +193,9 @@ while (<>) { # $xlrator_url = &check_cache($source_url,$hostaddr,$username,"AVG",$mirror); # } +# ----------- ADD NEW SOURCES BEFORE THIS LINE !!! ------------------ + } + $request="$xlrator_url $hostaddr $username $method\n"; print $request;