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/make_boot_img | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'images/make_boot_img') 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