From d7085ca57eb6bacd0fb92dbb92de2dca619c4b60 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 29 Jun 2007 14:59:30 +0000 Subject: - default to theme Mandriva-Free, and only setting another one through THEME environment variable --- images/NEWS | 3 +++ images/make_boot_img | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'images') diff --git a/images/NEWS b/images/NEWS index 45e23eef7..811ac3644 100644 --- a/images/NEWS +++ b/images/NEWS @@ -1,3 +1,6 @@ +- default to theme Mandriva-Free, and only setting another one through THEME + environment variable + Version 1.9 - 3 April 2007, by Pascal "Pixel" Rigaux - include mmc_block for card readers diff --git a/images/make_boot_img b/images/make_boot_img index 055746371..72cb1a58e 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -663,7 +663,8 @@ sub syslinux_all_files { @$kernels or die "syslinux_all_files: no kernel\n"; $default_vga =~ /788/ or die 'we rely on vga=788 for bootsplash'; - my $bootspash_cfg = '/etc/bootsplash/themes/Mandriva/config/bootsplash-800x600.cfg'; + my $theme = $ENV{THEME} || 'Mandriva-Free'; + my $bootspash_cfg = '/etc/bootsplash/themes/$theme/config/bootsplash-800x600.cfg'; -e $bootspash_cfg or die "can't find $bootspash_cfg"; each_index { -- cgit v1.2.1