summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-04-17 11:34:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-04-17 11:34:32 +0000
commit4781e491c32fdfe0dbe3cf97a8aca90040a9406b (patch)
treeca4f166763cc8be7bc01e943dcbf5a058758060d /perl-install/modules.pm
parent5458ef92ec80fab427e4d69b5cdd22bb76b261d8 (diff)
downloaddrakx-4781e491c32fdfe0dbe3cf97a8aca90040a9406b.tar
drakx-4781e491c32fdfe0dbe3cf97a8aca90040a9406b.tar.gz
drakx-4781e491c32fdfe0dbe3cf97a8aca90040a9406b.tar.bz2
drakx-4781e491c32fdfe0dbe3cf97a8aca90040a9406b.tar.xz
drakx-4781e491c32fdfe0dbe3cf97a8aca90040a9406b.zip
new perl_checker compliance
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index c011423f1..b5b784537 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -79,7 +79,7 @@ sub unload {
}
sub load_category {
- my ($category, $wait_message, $probe_type) = @_;
+ my ($category, $o_wait_message, $b_probe_type) = @_;
#- probe_category returns the PCMCIA cards. It doesn't know they are already
#- loaded, so:
@@ -97,19 +97,19 @@ sub load_category {
),
);
grep {
- $wait_message->($_->{description}, $_->{driver}) if $wait_message;
+ $o_wait_message->($_->{description}, $_->{driver}) if $o_wait_message;
eval { load([ $_->{driver}, $_->{options} ]) };
$_->{error} = $@;
$_->{try} = 1 if $_->{driver} eq 'hptraid';
!($_->{error} && $_->{try});
- } probe_category($category, $probe_type),
+ } probe_category($category, $b_probe_type),
map { { driver => $_, description => $_, try => 1 } } @try_modules;
}
sub probe_category {
- my ($category, $probe_type) = @_;
+ my ($category, $b_probe_type) = @_;
my @modules = category2modules($category);
@@ -127,7 +127,7 @@ sub probe_category {
} else {
member($_->{driver}, @modules);
}
- } detect_devices::probeall($probe_type);
+ } detect_devices::probeall($b_probe_type);
}
sub load_ide {