summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/bootloader.pm5
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';
}