summaryrefslogtreecommitdiffstats
path: root/perl-install/install_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-02 02:08:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-02 02:08:06 +0000
commitc7f7e91919ee72b885d5b3253c608393279945ae (patch)
treedf8b892cd5327a89000d39d33824c556e90aaf2a /perl-install/install_interactive.pm
parente5c9364696dd1de43b51b39cd9f3792c2a50a3cf (diff)
downloaddrakx-c7f7e91919ee72b885d5b3253c608393279945ae.tar
drakx-c7f7e91919ee72b885d5b3253c608393279945ae.tar.gz
drakx-c7f7e91919ee72b885d5b3253c608393279945ae.tar.bz2
drakx-c7f7e91919ee72b885d5b3253c608393279945ae.tar.xz
drakx-c7f7e91919ee72b885d5b3253c608393279945ae.zip
create detect_devices::probe_name() & detect_devices::probe_unique_name() and use them
Diffstat (limited to 'perl-install/install_interactive.pm')
-rw-r--r--perl-install/install_interactive.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_interactive.pm b/perl-install/install_interactive.pm
index 8cc936d3d..e5a0ebcb7 100644
--- a/perl-install/install_interactive.pm
+++ b/perl-install/install_interactive.pm
@@ -17,10 +17,10 @@ use log;
sub tellAboutProprietaryModules {
my ($o) = @_;
- my @l = grep { $_ } map { $_->{driver} =~ /^Bad:(.*)/ && $1 } detect_devices::probeall();
+ my @l = detect_devices::probe_name('Bad') or return;
$o->ask_warn('', formatAlaTeX(
N("Some hardware on your computer needs ``proprietary'' drivers to work.
-You can find some information about them at: %s", join(", ", @l)))) if @l;
+You can find some information about them at: %s", join(", ", @l))));
}
#- unit of $mb is mega bytes, min and max are in sectors, this