summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index fe5458f58..8adf030a8 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -676,6 +676,10 @@ sub set_window_manager {
$l{DESKTOP} = $wm;
setVarsInSh("$p_home/.desktop", \%l);
}
+ my $sys_conffile = "$::prefix/etc/sysconfig/desktop";
+ my %desktop = getVarsFromSh($sys_conffile);
+ $desktop{DESKTOP} = $wm;
+ setVarsInSh($sys_conffile, \%desktop);
}
sub rotate_log {