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
This commit is contained in:
Joern-Ingo Weigert
2013-03-06 11:58:48 +01:00
parent 7b59d8389d
commit 219c963e3b

View File

@@ -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
# -----------------------------------------------------------