]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
Revert "ids-functions.pl: Check if the generated stored rulesfile of a provider"
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 2 Jan 2022 08:52:02 +0000 (09:52 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 2 Jan 2022 08:52:02 +0000 (09:52 +0100)
This commit causes massive troubles in the downloader and therefore
needs to be reverted.

This reverts commit 577e3304953c708bce7f6c067bf34c3f585d3a0f.

config/cfgroot/ids-functions.pl

index e140fb13d2854c040c2133d50faaa84e11cd5153..96905b617f71f3ffd2758e196081480b8b95fba3 100644 (file)
@@ -877,12 +877,6 @@ sub _get_dl_rulesfile($) {
        # Generate the full filename and path for the stored rules file.
        my $rulesfile = "$dl_rules_path/$dl_rulesfile_prefix-$provider$suffix";
 
-       # Check if the file exists.
-       unless (-f "$rulesfile") {
-               # Abort return - nothing.
-               return;
-       }
-
        # Return the generated filename.
        return $rulesfile;
 }