diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-09-15 06:54:38 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-09-15 06:54:38 +0000 |
commit | 1633d916dd49edac839b49bd20a3e21184669194 (patch) | |
tree | 6631c2f1bf80026d95d56e7606260bd91c859a22 /perl-install/modules | |
parent | 23ba1e449d8260a1029c218f90781139bb30891e (diff) | |
download | drakx-backup-do-not-use-1633d916dd49edac839b49bd20a3e21184669194.tar drakx-backup-do-not-use-1633d916dd49edac839b49bd20a3e21184669194.tar.gz drakx-backup-do-not-use-1633d916dd49edac839b49bd20a3e21184669194.tar.bz2 drakx-backup-do-not-use-1633d916dd49edac839b49bd20a3e21184669194.tar.xz drakx-backup-do-not-use-1633d916dd49edac839b49bd20a3e21184669194.zip |
(load_category__prompt) fix spacing in module list
Diffstat (limited to 'perl-install/modules')
-rw-r--r-- | perl-install/modules/interactive.pm | 3 |
1 files changed, 2 insertions, 1 deletions
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), |