summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-18 15:47:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-18 15:47:14 +0000
commitfa54b725719690c43c28a9824d48161b79acf1cb (patch)
tree89f8871f6c09edb1a8d40d6d5d6208d526d29ca7 /perl-install/install_steps.pm
parente48a0c9524961522c729203bfbb8248324aae178 (diff)
downloaddrakx-backup-do-not-use-fa54b725719690c43c28a9824d48161b79acf1cb.tar
drakx-backup-do-not-use-fa54b725719690c43c28a9824d48161b79acf1cb.tar.gz
drakx-backup-do-not-use-fa54b725719690c43c28a9824d48161b79acf1cb.tar.bz2
drakx-backup-do-not-use-fa54b725719690c43c28a9824d48161b79acf1cb.tar.xz
drakx-backup-do-not-use-fa54b725719690c43c28a9824d48161b79acf1cb.zip
fix setting kdmrc for latin1
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm8
1 files 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";
}