From 6fc2fb62603cc5a653595337db7176f3b83a8b44 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 9 Aug 2002 11:31:06 +0000 Subject: (mkinitrd): when an initrd is already there, it means an initrd is needed not the contrary (thanks to Damon Lynch for his test) --- perl-install/bootloader.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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(); -- cgit v1.2.1