summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-12 12:59:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-12 12:59:58 +0000
commit6d90c0db464dca2763490f2dc03e58c7ac89720a (patch)
treefd88e1d740442fd1fdf3ad9ea97df6d1026475ae /perl-install
parentd31b1423e7d02392b02ed5336a4ab60fb6c1f236 (diff)
downloaddrakx-6d90c0db464dca2763490f2dc03e58c7ac89720a.tar
drakx-6d90c0db464dca2763490f2dc03e58c7ac89720a.tar.gz
drakx-6d90c0db464dca2763490f2dc03e58c7ac89720a.tar.bz2
drakx-6d90c0db464dca2763490f2dc03e58c7ac89720a.tar.xz
drakx-6d90c0db464dca2763490f2dc03e58c7ac89720a.zip
fix typo (from 2003-02-25)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index 4cc86e1af..9dc7a1c3c 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -506,7 +506,7 @@ sub computeGroupSize {
exists $preferred{$ppkg->name} and $prefer_id = $_;
$ppkg->name =~ /kernel-\d/ and $prefer_id ||= $_;
foreach my $l ($ppkg->requires_nosense) {
- /locales-/ or next;
+ $l =~ /locales-/ or next;
my $pppkg = packageByName($packages, $l) or next;
$pppkg->flag_available and $prefer_id ||= $_;
}