summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2011-03-16 08:22:46 +0000
committerOlivier Blin <blino@mageia.org>2011-03-16 08:22:46 +0000
commit480f9bfaf9e90773834d2c1758e0569b8ed10552 (patch)
tree35a3c53e027ed785f26faa80d8b8014a12e6135d
parent100326c4fe516a5d5242a56fee49d2a049e27344 (diff)
downloaddrakiso-480f9bfaf9e90773834d2c1758e0569b8ed10552.tar
drakiso-480f9bfaf9e90773834d2c1758e0569b8ed10552.tar.gz
drakiso-480f9bfaf9e90773834d2c1758e0569b8ed10552.tar.bz2
drakiso-480f9bfaf9e90773834d2c1758e0569b8ed10552.tar.xz
drakiso-480f9bfaf9e90773834d2c1758e0569b8ed10552.zip
do not harcode default gfxboot theme, use distribution name from /etc/product.id
-rwxr-xr-xdraklive3
1 files changed, 2 insertions, 1 deletions
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;