summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-09-11 18:30:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-09-11 18:30:58 +0000
commit264cc85ee7b270dd974ed20b01a115dd0e4858f0 (patch)
treeab8ce8f538171a32a7e1f97f060b789b5326170f /perl-install/lang.pm
parent2223e5b1c42f333a8b88468d125236e39135eb03 (diff)
downloaddrakx-backup-do-not-use-264cc85ee7b270dd974ed20b01a115dd0e4858f0.tar
drakx-backup-do-not-use-264cc85ee7b270dd974ed20b01a115dd0e4858f0.tar.gz
drakx-backup-do-not-use-264cc85ee7b270dd974ed20b01a115dd0e4858f0.tar.bz2
drakx-backup-do-not-use-264cc85ee7b270dd974ed20b01a115dd0e4858f0.tar.xz
drakx-backup-do-not-use-264cc85ee7b270dd974ed20b01a115dd0e4858f0.zip
don't configure kde config files when they are not present
(otherwise minimal install followed by urpmi kde gives a badly configured kde)
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index c35ebbf1e..d81077c58 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -935,7 +935,7 @@ sub write {
my $confdir = $prefix . ($b_user_only ? "$ENV{HOME}/.kde" : '/usr') . '/share/config';
my ($prev_kde_charset) = cat_("$confdir/kdeglobals") =~ /^Charset=(.*)/mi;
- mkdir_p($confdir);
+ -d $confdir or die 'not configuring kde config files since it is not installed/used';
update_gnomekderc("$confdir/kdeglobals", Locale => (
Charset => charset2kde_charset($charset),