mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
update-ids-ruleset: Skip providers which are not enabled.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -96,8 +96,12 @@ $locked = "1";
|
||||
foreach my $id (keys %providers) {
|
||||
# Assign some nice variabled.
|
||||
my $provider = $providers{$id}[0];
|
||||
my $enabled_status = $providers{$id}[2];
|
||||
my $autoupdate_status = $providers{$id}[3];
|
||||
|
||||
# Skip the provider if it is not enabled.
|
||||
next unless($enabled_status eq "enabled");
|
||||
|
||||
# Skip the provider if autoupdate is not enabled.
|
||||
next unless($autoupdate_status eq "enabled");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user