mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 04:52:59 +02:00
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:
@@ -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
|
||||
# -----------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user