]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
update-ids-ruleset: Disable provider if not dl_url can be obtained
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 21 Mar 2024 20:51:16 +0000 (21:51 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 22 Mar 2024 15:18:41 +0000 (15:18 +0000)
Unsupported/Removed provides does not longer have these information

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/scripts/update-ids-ruleset

index 553c1a1e1e90ad2edf8680de0357e5e2b4526f85..806107e1c21698573d1dc0cec14457bf62a23360 100644 (file)
@@ -106,7 +106,7 @@ foreach my $id (keys %providers) {
        my $autoupdate_status = $providers{$id}[3];
 
        # Skip unsupported providers.
-       next unless($IDS::Ruleset::Providers{$provider});
+       next unless($IDS::Ruleset::Providers{$provider}{'dl_url'});
 
        # Skip the provider if it is not enabled.
        next unless($enabled_status eq "enabled");