diff options
author | Francois Pons <fpons@mandriva.com> | 2003-07-31 14:43:05 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-07-31 14:43:05 +0000 |
commit | 520e584a9c6b2fd278560d1ff30c1706f6320d8b (patch) | |
tree | 59da135deeaeeece217177ad9ea62a10488b0031 /perl-install | |
parent | 914e048be7b2bd5524969849c6e2eca34bfcc5b8 (diff) | |
download | drakx-520e584a9c6b2fd278560d1ff30c1706f6320d8b.tar drakx-520e584a9c6b2fd278560d1ff30c1706f6320d8b.tar.gz drakx-520e584a9c6b2fd278560d1ff30c1706f6320d8b.tar.bz2 drakx-520e584a9c6b2fd278560d1ff30c1706f6320d8b.tar.xz drakx-520e584a9c6b2fd278560d1ff30c1706f6320d8b.zip |
added redo of initrd files for oem changes to take effects for bootsplash...
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps.pm | 6 |
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(); |