From 480f9bfaf9e90773834d2c1758e0569b8ed10552 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 16 Mar 2011 08:22:46 +0000 Subject: do not harcode default gfxboot theme, use distribution name from /etc/product.id --- draklive | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/draklive b/draklive index 9130a75..bfa6811 100755 --- a/draklive +++ b/draklive @@ -594,7 +594,8 @@ sub create_syslinux_msg_files { mkdir_p($syslinux_dir); if ($live->{system}{gfxboot}) { - my $default_gfxboot_theme = "Mandriva"; + my $product = common::parse_LDAP_namespace_structure(cat_($live->get_system_root . '/etc/product.id')); + my $default_gfxboot_theme = $product->{distribution}; require bootsplash; my $theme = do { local $::prefix = $live->get_system_root; -- cgit v1.2.1