From 5e2b3514089a9aabde4a6724a5214f56affa2573 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Wed, 4 Nov 2009 17:36:02 +0000 Subject: remove LOGO_CONSOLE support --- perl-install/bootsplash.pm | 8 -------- 1 file changed, 8 deletions(-) (limited to 'perl-install/bootsplash.pm') diff --git a/perl-install/bootsplash.pm b/perl-install/bootsplash.pm index b63bdb3af..4ed2ea1bb 100644 --- a/perl-install/bootsplash.pm +++ b/perl-install/bootsplash.pm @@ -29,14 +29,12 @@ sub themes_read_sysconfig { my %theme = ( name => $default_theme, enabled => 1, - keep_logo => 1 ); if (-r $::prefix . $sysconfig_file) { local $_; foreach (cat_($::prefix . $sysconfig_file)) { /^SPLASH=no/ and $theme{enabled} = 0; /^THEME=(.*)/ && -f theme_get_image_for_resolution($1, $res) and $theme{name} = $1; - /^LOGO_CONSOLE=(.*)/ and $theme{keep_logo} = $1 ne "no"; } } \%theme; @@ -84,10 +82,4 @@ sub remove() { } } -sub set_logo_console { - my ($keep_logo) = @_; - my $logo_console = $keep_logo ? 'theme' : 'no'; - substInFile { s/^LOGO_CONSOLE=.*/LOGO_CONSOLE=$logo_console/ } $::prefix . $sysconfig_file; -} - 1; -- cgit v1.2.1