update-ids-ruleset: Disable provider if not dl_url can be obtained

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>
This commit is contained in:
Stefan Schantl
2024-03-21 21:51:16 +01:00
committed by Michael Tremer
parent df7977fde7
commit 0842e694a6

View 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");