summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-14 12:35:30 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-14 12:35:30 +0000
commitd262062a7a03f6791dad8f30ffa51220cd29814a (patch)
treeb4f89f3af09907aab2e38f4f23c2638676fe54e2 /perl-install/any.pm
parentd9f4685657b66bbbb0f4021a040da852c78d0482 (diff)
downloaddrakx-d262062a7a03f6791dad8f30ffa51220cd29814a.tar
drakx-d262062a7a03f6791dad8f30ffa51220cd29814a.tar.gz
drakx-d262062a7a03f6791dad8f30ffa51220cd29814a.tar.bz2
drakx-d262062a7a03f6791dad8f30ffa51220cd29814a.tar.xz
drakx-d262062a7a03f6791dad8f30ffa51220cd29814a.zip
no_comment
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 0eec3a2ed..850a3be52 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -489,9 +489,10 @@ sub load_module {
my ($in, $type) = @_;
my @options;
+ (my $msg_type = $type) =~ s/\|.*//;
my $m = $in->ask_from_listf('',
#-PO: the %s is the driver type (scsi, network, sound,...)
- _("Which %s driver should I try?", $type),
+ _("Which %s driver should I try?", $msg_type),
\&modules::module2text,
[ modules::module_of_type($type) ]) or return;
my $l = modules::module2text($m);