summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-08 10:05:51 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-08 10:05:51 +0000
commit6f1bd0f34facf22feed8ca53f9b2e67759d19306 (patch)
tree7d1d42b179486cb6b3e12a6a48447bd32599e77d /perl-install/any.pm
parent26f52a281e0d15bc624d03eccd77015d2460765d (diff)
downloaddrakx-6f1bd0f34facf22feed8ca53f9b2e67759d19306.tar
drakx-6f1bd0f34facf22feed8ca53f9b2e67759d19306.tar.gz
drakx-6f1bd0f34facf22feed8ca53f9b2e67759d19306.tar.bz2
drakx-6f1bd0f34facf22feed8ca53f9b2e67759d19306.tar.xz
drakx-6f1bd0f34facf22feed8ca53f9b2e67759d19306.zip
(set_window_manager) update /etc/sysconfig/desktop since get_autologin() still
reads it, thus fixing drakboot not displaying previous setting but a blank value instead
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 {