summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-05-09 12:07:40 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-05-09 12:07:40 +0000
commit164e94e201e9d49ab9464fc737dfcfbc43f6e596 (patch)
tree5deff235fd452802818f0a3f7b5a9a057b63f23a /perl-install/any.pm
parente29430e040fb03c614900bbb39ec428c610a8726 (diff)
downloaddrakx-164e94e201e9d49ab9464fc737dfcfbc43f6e596.tar
drakx-164e94e201e9d49ab9464fc737dfcfbc43f6e596.tar.gz
drakx-164e94e201e9d49ab9464fc737dfcfbc43f6e596.tar.bz2
drakx-164e94e201e9d49ab9464fc737dfcfbc43f6e596.tar.xz
drakx-164e94e201e9d49ab9464fc737dfcfbc43f6e596.zip
no_comment
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index f4133399c..2afc3b251 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -139,10 +139,10 @@ You can add some more or change the existing ones."),
my @l;
if ($e->{type} eq "image") {
@l = (
-_("Image") => { val => \$e->{kernel_or_dev}, list => [ eval { map { s/$prefix// } glob_("$prefix/boot/vmlinuz*") } ] },
+_("Image") => { val => \$e->{kernel_or_dev}, list => [ eval { map { s/$prefix//; $_ } glob_("$prefix/boot/vmlinuz*") } ] },
_("Root") => { val => \$e->{root}, list => [ map { "/dev/$_->{device}" } @$fstab ], not_edit => !$::expert },
_("Append") => \$e->{append},
-_("Initrd") => { val => \$e->{initrd}, list => [ eval { map { s/$prefix// } glob_("$prefix/boot/initrd*") } ] },
+_("Initrd") => { val => \$e->{initrd}, list => [ eval { map { s/$prefix//; $_ } glob_("$prefix/boot/initrd*") } ] },
_("Read-write") => { val => \$e->{'read-write'}, type => 'bool' }
);
@l = @l[0..5] unless $::expert;