diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-08-30 11:05:02 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-08-30 11:05:02 +0000 |
commit | 66a3628fe68440fc30f8aafb2ce51001cb8742a1 (patch) | |
tree | 205abe0851e0898b265978941cc04bc5207d2696 | |
parent | 6774e3255b1db6b2a777db8b66c9744345e87004 (diff) | |
download | drakx-backup-do-not-use-66a3628fe68440fc30f8aafb2ce51001cb8742a1.tar drakx-backup-do-not-use-66a3628fe68440fc30f8aafb2ce51001cb8742a1.tar.gz drakx-backup-do-not-use-66a3628fe68440fc30f8aafb2ce51001cb8742a1.tar.bz2 drakx-backup-do-not-use-66a3628fe68440fc30f8aafb2ce51001cb8742a1.tar.xz drakx-backup-do-not-use-66a3628fe68440fc30f8aafb2ce51001cb8742a1.zip |
handle {message_text} not set but /boot/message-text existing
-rw-r--r-- | perl-install/bootloader.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index e8f9db2e7..a2453cf90 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1180,7 +1180,10 @@ sub install_lilo { } if ($bootloader->{message_text}) { output("$::prefix/boot/message-text", $bootloader->{message_text}); - symlinkf "message-" . ($bootloader->{method} ne 'lilo-graphic' ? 'text' : 'graphic'), "$::prefix/boot/message"; + } + my $message = "message-" . ($bootloader->{method} ne 'lilo-graphic' ? 'text' : 'graphic'); + if (-r "$::prefix/boot/$message") { + symlinkf $message, "$::prefix/boot/message"; $bootloader->{message} = '/boot/message'; } |