summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install_steps.pm30
1 files changed, 30 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 47249b586..916fd53b9 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -306,6 +306,11 @@ sub beforeInstallPackages {
log::l("setting excludedocs to $o->{excludedocs}");
substInFile { s/%_excludedocs.*//; $_ .= "%_excludedocs yes\n" if eof && $o->{excludedocs} } "$o->{prefix}/etc/rpm/macros";
+
+ #- add oem lilo theme and background if the files exists.
+ mkdir "$o->{prefix}$_" foreach qw(/boot /usr /usr/share /usr/share/mdk);
+ install_any::getAndSaveFile("Mandrake/base/oem-message-graphic", "$o->{prefix}/boot/oem-message-graphic");
+ install_any::getAndSaveFile("Mandrake/base/oem-background.png", "$o->{prefix}/usr/share/mdk/oem-background.png");
}
sub pkg_install {
@@ -515,6 +520,31 @@ GridHeight=70
}
}
+ #- update oem lilo image if it exists.
+ if (-s "/boot/oem-message-graphic") {
+ rename "$o->{prefix}/boot/message-graphic", "$o->{prefix}/boot/message-graphic.mdkgiorig";
+ rename "$o->{prefix}/boot/oem-message-graphic", "$o->{prefix}/boot/message-graphic";
+ }
+
+ #- update background image if it exists for common environment.
+ if (-s -s "/usr/share/mdk/oem-background.png") {
+ #- KDE desktop background.
+ if (-e "$o->{prefix}/usr/share/config/kdesktoprc") {
+ update_gnomekderc("$o->{prefix}/usr/share/config/kdesktoprc", "Desktop0",
+ MultiWallpaperMode => "NoMulti",
+ Wallpaper => "/usr/share/mdk/oem-background.png",
+ WallpaperMode => "Scaled",
+ );
+ }
+ #- GNOME desktop background.
+ if (-e "$o->{prefix}/etc/gnome/config/Background") {
+ update_gnomekderc("$o->{prefix}/etc/gnome/config/Background", "Default",
+ wallpaper => "/usr/share/mdk/oem-background.png",
+ wallpaperAlign => "3",
+ );
+ }
+ }
+
if ($o->{blank} || $o->{updatemodules}) {
my @l = detect_devices::floppies_dev();
d> | * alias agpgart should be only for 2.6, since code doesn't allow this easily,Pascal Rigaux2004-02-202-6/+5 | | | | | adding the agp module to modprobe.preload * 10-1mdkThierry Vignaud2004-02-201-1/+5 | * fix writing aliases (fix broken speedtouch)Thierry Vignaud2004-02-201-2/+2 | * *** empty log message ***Pascal Rigaux2004-02-201-1/+54 | * add umask=0022 capability, and use it for security level 3Pascal Rigaux2004-02-201-4/+18 | * Gnome is no good, GNOME is goodPascal Rigaux2004-02-202-2/+2 | * fix warning LSB chosen implies kernel 2.4Pascal Rigaux2004-02-201-1/+1 | * don't force buttons a size related to $::windowwidth since this is no more ↵Guillaume Cottenceau2004-02-204-3/+4 | | | | used to size the main window (fixes missing Next button in vgahi), use a global $::real_windowwidth for sizings related to the main window * allow to specify the Xnest wanted resolution with --vgaGuillaume Cottenceau2004-02-201-1/+1 | * Gnome icon order. Drop an unused button box.Stew Benedict2004-02-201-53/+28 | * 10-0.21mdkThierry Vignaud2004-02-201-1/+11 | * since no PCMCIA cards support link status notification, ifplugd shouldThierry Vignaud2004-02-191-1/+3 | | | | | | be disabled for all pcmcia cards by default => let blacklist them (#8031) * updateThierry Vignaud2004-02-191-15103/+17412 | * fix stringThierry Vignaud2004-02-191-1/+1 | * *** empty log message ***Pascal Rigaux2004-02-191-1/+40 | * use $ugtk2::current_window in place of @interactive::objects (which was ↵Pascal Rigaux2004-02-192-8/+9 | | | | | | | unused and broken) => fix XSetInputFocus (bugzilla #8046 and #8053) * UpdatedArkadiusz Lipiec2004-02-191-14459/+16604 | * updated pot filePablo Saratxaga2004-02-19