summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index cfec5ac14..b99830492 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -586,13 +586,19 @@ GridHeight=70
rename "$o->{prefix}/usr/share/bootsplash/oem-message-graphic",
"$o->{prefix}/usr/share/bootsplash/themes/Mandrake/lilo/message";
}
+ my $redo_bootsplash;
foreach (qw(oem-bootsplash-800x600.jpg oem-bootsplash-1024x768.jpg oem-bootsplash-1200x1024.jpg
oem-bootsplash-1600x1200.jpg)) {
if (-e "$o->{prefix}/usr/share/bootsplash/themes/Mandrake/images/$_" && "$o->{prefix}/usr/share/bootsplash/$_") {
rename "$o->{prefix}/usr/share/bootsplash/themes/Mandrake/images/$_", "$o->{prefix}/usr/share/bootsplash/$_.mdkgiorig";
rename "$o->{prefix}/usr/share/bootsplash/$_", "$o->{prefix}/usr/share/bootsplash/themes/Mandrake/images/$_";
+ ++$redo_bootsplash;
}
}
+ if ($redo_bootsplash && -x "$o->{prefix}/usr/share/loader/make-initrd") {
+ #- redo bootsplash installation for changes to take effects...
+ run_program::rooted($o->{prefix}, "/usr/share/loader/make-initrd", "-n");
+ }
if ($o->{blank} || $o->{updatemodules}) {
my @l = detect_devices::floppies_dev();