summaryrefslogtreecommitdiffstats
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
parent2223e5b1c42f333a8b88468d125236e39135eb03 (diff)
downloaddrakx-264cc85ee7b270dd974ed20b01a115dd0e4858f0.tar
drakx-264cc85ee7b270dd974ed20b01a115dd0e4858f0.tar.gz
drakx-264cc85ee7b270dd974ed20b01a115dd0e4858f0.tar.bz2
drakx-264cc85ee7b270dd974ed20b01a115dd0e4858f0.tar.xz
drakx-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)
-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),