From 1633d916dd49edac839b49bd20a3e21184669194 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 15 Sep 2004 06:54:38 +0000 Subject: (load_category__prompt) fix spacing in module list --- perl-install/modules/interactive.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/modules') diff --git a/perl-install/modules/interactive.pm b/perl-install/modules/interactive.pm index a05f0a39e..0788bb83c 100644 --- a/perl-install/modules/interactive.pm +++ b/perl-install/modules/interactive.pm @@ -112,7 +112,8 @@ sub load_category__prompt { my ($in, $modules_conf, $category) = @_; (my $msg_type = $category) =~ s/\|.*//; - my %available_modules = map_each { $::a => $::b ? "$::a ($::b)" : $::a } modules::category2modules_and_description($category); + + my %available_modules = map_each { my $dsc = $::b; $dsc =~ s/\s+/ /g; $::a => $dsc ? "$::a ($dsc)" : $::a } modules::category2modules_and_description($category); my $module = $in->ask_from_listf('', #-PO: the %s is the driver type (scsi, network, sound,...) N("Which %s driver should I try?", $msg_type), -- cgit v1.2.1