summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-01-07 07:26:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-01-07 07:26:05 +0000
commit4a92ef9d28a3b4241186678c3fa3b4ebd365809d (patch)
treec94e642857ca36540f5185ee786c42e7938ff625 /perl-install/install_steps.pm
parentbb6492e7bf3b348808cc2102c840fc91a3bff7b0 (diff)
downloaddrakx-4a92ef9d28a3b4241186678c3fa3b4ebd365809d.tar
drakx-4a92ef9d28a3b4241186678c3fa3b4ebd365809d.tar.gz
drakx-4a92ef9d28a3b4241186678c3fa3b4ebd365809d.tar.bz2
drakx-4a92ef9d28a3b4241186678c3fa3b4ebd365809d.tar.xz
drakx-4a92ef9d28a3b4241186678c3fa3b4ebd365809d.zip
no_comment
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm11
1 files changed, 10 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index e6fac8319..5f2c4bddd 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -273,10 +273,19 @@ sub afterInstallPackages($) {
log::l("updating kde icons according to available devices");
install_any::kdeicons_postinstall($o->{prefix});
- substInFile { s/^(GreetString)=.*/$1=Welcome to [HOSTNAME]/ } "$o->{prefix}/usr/share/config/kdmrc";
+ my $welcome = _("Welcome to %s", "[HOSTNAME]");
+ substInFile { s/^(GreetString)=.*/$1=$welcome/ } "$o->{prefix}/usr/share/config/kdmrc";
substInFile { s/^(UserView)=false/$1=true/ } "$o->{prefix}/usr/share/config/kdmrc" if $o->{security} < 3;
run_program::rooted($o->{prefix}, "kdeDesktopCleanup");
+ #- konsole and gnome-terminal are lamers in exotic languages, link them to something better
+ if ($o->{lang} =~ /ja|ko|zh/) {
+ foreach ("konsole", "gnome-terminal") {
+ my $f = "$o->{prefix}/usr/bin/$_";
+ symlinkf("X11/rxvt.sh", $f) if -e $f;
+ }
+ }
+
foreach (install_any::list_skels()) {
my $found;
substInFile {