diff options
| author | Olivier Blin <oblin@mandriva.com> | 2009-06-26 15:36:54 +0000 |
|---|---|---|
| committer | Olivier Blin <oblin@mandriva.com> | 2009-06-26 15:36:54 +0000 |
| commit | 86b8b8823a7279a98db9da60821deaee13473376 (patch) | |
| tree | a7f728a71f5089deb06de787e4c86341641a2d1f /draklive | |
| parent | 40cd10fde71e305465a22e87f4a4d7d151b595b4 (diff) | |
| download | drakiso-86b8b8823a7279a98db9da60821deaee13473376.tar drakiso-86b8b8823a7279a98db9da60821deaee13473376.tar.gz drakiso-86b8b8823a7279a98db9da60821deaee13473376.tar.bz2 drakiso-86b8b8823a7279a98db9da60821deaee13473376.tar.xz drakiso-86b8b8823a7279a98db9da60821deaee13473376.zip | |
use any instead of grep (thanks perl_checker)
Diffstat (limited to 'draklive')
| -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$/; |
