mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +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.
|
||||
&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.
|
||||
&IDS::set_ownership("$new_modifications_file");
|
||||
|
||||
# Delete old modifications file.
|
||||
unlink("$old_modifications_file");
|
||||
}
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user