summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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),