diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-09 11:31:06 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-09 11:31:06 +0000 |
commit | 6fc2fb62603cc5a653595337db7176f3b83a8b44 (patch) | |
tree | 80df759f2047ef1a564cf59485dee90fe4bd2974 /perl-install | |
parent | 658aa10bf4469cb014c3367d43584653156f23d1 (diff) | |
download | drakx-6fc2fb62603cc5a653595337db7176f3b83a8b44.tar drakx-6fc2fb62603cc5a653595337db7176f3b83a8b44.tar.gz drakx-6fc2fb62603cc5a653595337db7176f3b83a8b44.tar.bz2 drakx-6fc2fb62603cc5a653595337db7176f3b83a8b44.tar.xz drakx-6fc2fb62603cc5a653595337db7176f3b83a8b44.zip |
(mkinitrd): when an initrd is already there, it means an initrd is needed
not the contrary (thanks to Damon Lynch for his test)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index bf055697f..86963e9c0 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -54,7 +54,7 @@ sub get_label { sub mkinitrd { my ($kernelVersion, $initrdImage) = @_; - $::oem or $::testing || -e "$::prefix/$initrdImage" and return; + $::testing || -e "$::prefix/$initrdImage" and return 1; my $loop_boot = loopback::prepare_boot(); |