summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-09 11:31:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-09 11:31:06 +0000
commit6fc2fb62603cc5a653595337db7176f3b83a8b44 (patch)
tree80df759f2047ef1a564cf59485dee90fe4bd2974
parent658aa10bf4469cb014c3367d43584653156f23d1 (diff)
downloaddrakx-backup-do-not-use-6fc2fb62603cc5a653595337db7176f3b83a8b44.tar
drakx-backup-do-not-use-6fc2fb62603cc5a653595337db7176f3b83a8b44.tar.gz
drakx-backup-do-not-use-6fc2fb62603cc5a653595337db7176f3b83a8b44.tar.bz2
drakx-backup-do-not-use-6fc2fb62603cc5a653595337db7176f3b83a8b44.tar.xz
drakx-backup-do-not-use-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)
-rw-r--r--perl-install/bootloader.pm2
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();