summaryrefslogtreecommitdiffstats
path: root/images/make_boot_img
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-29 14:59:30 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-29 14:59:30 +0000
commitd7085ca57eb6bacd0fb92dbb92de2dca619c4b60 (patch)
tree0bb240e89b85448dff65f29c63708a12b021a434 /images/make_boot_img
parent5b34cfed4781181446266eb7e1b587c7a8632ac8 (diff)
downloaddrakx-backup-do-not-use-d7085ca57eb6bacd0fb92dbb92de2dca619c4b60.tar
drakx-backup-do-not-use-d7085ca57eb6bacd0fb92dbb92de2dca619c4b60.tar.gz
drakx-backup-do-not-use-d7085ca57eb6bacd0fb92dbb92de2dca619c4b60.tar.bz2
drakx-backup-do-not-use-d7085ca57eb6bacd0fb92dbb92de2dca619c4b60.tar.xz
drakx-backup-do-not-use-d7085ca57eb6bacd0fb92dbb92de2dca619c4b60.zip
- default to theme Mandriva-Free, and only setting another one through THEME
environment variable
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-ximages/make_boot_img3
1 files changed, 2 insertions, 1 deletions
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 {