diff options
-rwxr-xr-x | draklive | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -498,7 +498,7 @@ sub remove_unneeded_bootlogo_locales { push @locales, 'en'; my @kept_locales; foreach my $file (glob "*.tr") { - if (!grep { $file =~ /^$_\.tr$/ } @locales) { + if (!any { $file =~ /^$_\.tr$/ } @locales) { unlink $file; } else { my ($locale_name) = $file =~ /(.*)\.tr$/; |