summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-08-06 01:01:18 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-08-06 01:01:18 +0000
commitf18434c76326cf6c58d24dc67ef4707ec72f400d (patch)
tree3cc12fe883d6bd33ae17a601e8c9666567d346b5 /perl-install
parentc75193289b79d4c0687aa6a597b51436568f8360 (diff)
downloaddrakx-backup-do-not-use-f18434c76326cf6c58d24dc67ef4707ec72f400d.tar
drakx-backup-do-not-use-f18434c76326cf6c58d24dc67ef4707ec72f400d.tar.gz
drakx-backup-do-not-use-f18434c76326cf6c58d24dc67ef4707ec72f400d.tar.bz2
drakx-backup-do-not-use-f18434c76326cf6c58d24dc67ef4707ec72f400d.tar.xz
drakx-backup-do-not-use-f18434c76326cf6c58d24dc67ef4707ec72f400d.zip
no_comment
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modules.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index cf17285e3..bb0ec41d4 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -325,12 +325,12 @@ while (my ($k, $v) = each %drivers) {
sub module_of_type__4update_kernel {
my ($type) = @_;
my %skip; @skip{@skip_modules_on_stage1} = ();
- grep { !exists $skip{$_} } grep { $drivers{$_}{type} =~ /^$type$/ } keys %drivers;
+ grep { !exists $skip{$_} } grep { $drivers{$_}{type} =~ /^($type)$/ } keys %drivers;
}
sub module_of_type {
my ($type) = @_;
my $alias = $type_aliases{$type};
- grep { $drivers{$_}{type} =~ /^$type|$alias$/ } keys %drivers;
+ grep { $drivers{$_}{type} =~ /^(($type)|$alias)$/ } keys %drivers;
}
sub module2text { $drivers{$_[0]}{text} }