]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/updxlrator/updxlrator
Add support for Mozilla (Firefox) Updates in updxlrator
[ipfire-2.x.git] / config / updxlrator / updxlrator
index 630093bf7288cbbc4c15139c3cf5d0bbfb0830bc..7a2b011614b4cc982ab11bf75b766eccb8bfef86 100644 (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
        # -----------------------------------------------------------