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 865408c..cdc7eeb 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
        # -----------------------------------------------------------