From fa54b725719690c43c28a9824d48161b79acf1cb Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 18 Sep 2001 15:47:14 +0000 Subject: fix setting kdmrc for latin1 --- perl-install/install_steps.pm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index ebf31a10b..1f4cbf595 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -460,9 +460,11 @@ Consoles 1,3,4,7 may also contain interesting information"; substInFile { s/^(GreetString)=.*/$1=$welcome/; s/^(Language)=.*/$1=$LANG/; - s/^(StdFont)=.*/$1=*,12,5,$charset,50,0/; - s/^(FailFont)=.*/$1=*,12,5,$charset,75,0/; - s/^(GreetFont)=.*/$1=*,24,5,$charset,50,0/; + if ($charset) { + s/^(StdFont)=.*/$1=*,12,5,$charset,50,0/; + s/^(FailFont)=.*/$1=*,12,5,$charset,75,0/; + s/^(GreetFont)=.*/$1=*,24,5,$charset,50,0/; + } } "$o->{prefix}/usr/share/config/kdm/kdmrc"; } -- cgit v1.2.1