diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-05-07 15:41:55 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-05-07 15:41:55 +0000 |
commit | 6e0714d453adf6cb59f3a8083d3561d5f274be16 (patch) | |
tree | f1b76708279145c1eb63b7d23f5c7d08648858a5 /perl-install/any.pm | |
parent | d91336f90687a1f2386f4941b1589c54af085983 (diff) | |
download | drakx-6e0714d453adf6cb59f3a8083d3561d5f274be16.tar drakx-6e0714d453adf6cb59f3a8083d3561d5f274be16.tar.gz drakx-6e0714d453adf6cb59f3a8083d3561d5f274be16.tar.bz2 drakx-6e0714d453adf6cb59f3a8083d3561d5f274be16.tar.xz drakx-6e0714d453adf6cb59f3a8083d3561d5f274be16.zip |
no_comment
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r-- | perl-install/any.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 7bbb4ee09..f4133399c 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 { glob_("/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 { glob_("/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; |