]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
update accelerator: Do not attempt to cache IPFire updates any more
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 8 Nov 2018 16:46:11 +0000 (16:46 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 8 Nov 2018 16:46:11 +0000 (16:46 +0000)
We do not deliver anything via HTTP or FTP any more and therefore
nothing can be cached any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/updxlrator/updxlrator

index 865408c8537a00b5d2d160c87d1ad24f4e27ed5f..cdc7eeb503589af0bd350910dd56e30f4ed9520b 100644 (file)
@@ -193,15 +193,6 @@ while (<>) {
                $xlrator_url = &check_cache($source_url,$hostaddr,$username,"Avira",$mirror);
        }
 
-       # -----------------------------------------------------------
-       # Section: IPFire Downloads
-       # -----------------------------------------------------------
-
-       if ($source_url =~ m@^[f|h]t?tp://.*\.(ipfire)$@i)
-       {
-               $xlrator_url = &check_cache($source_url,$hostaddr,$username,"IPFire",$mirror);
-       }
-
        # -----------------------------------------------------------
        # Section: AVG Downloads
        # -----------------------------------------------------------