diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-09-11 18:51:38 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-09-11 18:51:38 +0000 |
commit | 9f22166474279d7b90fd218de887b2f9d0ca84f0 (patch) | |
tree | 9c77d279e995ef8dcbaa44a0172ed63b1f6b36bb /perl-install/install_steps.pm | |
parent | 264cc85ee7b270dd974ed20b01a115dd0e4858f0 (diff) | |
download | drakx-9f22166474279d7b90fd218de887b2f9d0ca84f0.tar drakx-9f22166474279d7b90fd218de887b2f9d0ca84f0.tar.gz drakx-9f22166474279d7b90fd218de887b2f9d0ca84f0.tar.bz2 drakx-9f22166474279d7b90fd218de887b2f9d0ca84f0.tar.xz drakx-9f22166474279d7b90fd218de887b2f9d0ca84f0.zip |
move configuring kdmrc to lang::write so that it is done in localedrake
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 330244da8..e5c42fe73 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -476,23 +476,7 @@ EOF $o->install_urpmi; - if ($o->{locale}{lang} =~ /^(zh_TW|th|vi|be|bg)/) { - #- skip since we don't have the right font (it badly fails at least for zh_TW) - } else { - my $kde_charset = lang::charset2kde_charset(lang::l2charset($o->{locale}{lang})); - my $welcome = c::to_utf8(N("Welcome to %s", '%n')); - substInFile { - s/^(GreetString)=.*/$1=$welcome/; - s/^(Language)=.*/$1=$o->{locale}{lang}/; - if (!member($kde_charset, 'iso8859-1', 'iso8859-15')) { - #- don't keep the default for those - s/^(StdFont)=.*/$1=*,12,5,$kde_charset,50,0/; - s/^(FailFont)=.*/$1=*,12,5,$kde_charset,75,0/; - s/^(GreetFont)=.*/$1=*,24,5,$kde_charset,50,0/; - } - } "$o->{prefix}/usr/share/config/kdm/kdmrc"; - } install_any::disable_user_view() if $o->{security} >= 3 || $o->{authentication}{NIS}; run_program::rooted($o->{prefix}, "kdeDesktopCleanup"); |