From: Joern-Ingo Weigert Date: Wed, 6 Mar 2013 10:58:48 +0000 (+0100) Subject: Add support for Mozilla (Firefox) Updates in updxlrator X-Git-Tag: v2.13-core68^2~43^2~6^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=219c963e3b41487ea20e7512661ed2d08edd558a;p=people%2Fms%2Fipfire-2.x.git Add support for Mozilla (Firefox) Updates in updxlrator This patch add a new source-url in /usr/sbin/updxlratorto support Mozilla (Firefox) Updates It hooks on either partial(.mar) (v18.0.1->v18.0.2) or complete(.mar) updates (v18.0->v19.0) and all *.exe Downloads from *.mozilla.net --- diff --git a/config/updxlrator/updxlrator b/config/updxlrator/updxlrator index 630093bf72..7a2b011614 100644 --- a/config/updxlrator/updxlrator +++ b/config/updxlrator/updxlrator @@ -154,6 +154,15 @@ while (<>) { $xlrator_url = &check_cache($source_url,$hostaddr,$username,"Avast",$mirror); } + # ----------------------------------------------------------- + # Section: Mozilla Downloads + # ----------------------------------------------------------- + + if ($source_url=~ m@^http://.*\.mozilla\.net/.*\.((complete|partial)\.mar|exe)$@i) + { + $xlrator_url = &check_cache($source_url,$hostaddr,$username,"Mozilla",$unique); + } + # ----------------------------------------------------------- # Section: Mcafee # -----------------------------------------------------------