mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-13 16:11:37 +02:00
convert-ids-backend-files: Remove converted files.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -74,6 +74,9 @@ foreach my $provider (@providers) {
|
|||||||
|
|
||||||
# Set the correct ownership for the new file.
|
# Set the correct ownership for the new file.
|
||||||
&IDS::set_ownership("$used_rulesfiles_file");
|
&IDS::set_ownership("$used_rulesfiles_file");
|
||||||
|
|
||||||
|
# Delete old used rulesfiles file.
|
||||||
|
unlink("$old_used_rulesfiles_file");
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -127,6 +130,9 @@ foreach my $provider (@providers) {
|
|||||||
|
|
||||||
# Set correct ownership for the new modifications file.
|
# Set correct ownership for the new modifications file.
|
||||||
&IDS::set_ownership("$new_modifications_file");
|
&IDS::set_ownership("$new_modifications_file");
|
||||||
|
|
||||||
|
# Delete old modifications file.
|
||||||
|
unlink("$old_modifications_file");
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user