summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-09-23 17:30:39 +0000
committerOlivier Blin <oblin@mandriva.com>2009-09-23 17:30:39 +0000
commit0582ae37055b4e21015a4c16fbb9d3e4bc37f8cf (patch)
tree43091c6d733cd5ac2cd467a0bb090e0610cd83d5 /perl-install
parent14899e18b71931cfdff94b4ee1e5d69c504a7a44 (diff)
downloaddrakx-backup-do-not-use-0582ae37055b4e21015a4c16fbb9d3e4bc37f8cf.tar
drakx-backup-do-not-use-0582ae37055b4e21015a4c16fbb9d3e4bc37f8cf.tar.gz
drakx-backup-do-not-use-0582ae37055b4e21015a4c16fbb9d3e4bc37f8cf.tar.bz2
drakx-backup-do-not-use-0582ae37055b4e21015a4c16fbb9d3e4bc37f8cf.tar.xz
drakx-backup-do-not-use-0582ae37055b4e21015a4c16fbb9d3e4bc37f8cf.zip
write DISPLAYMANAGER in /etc/sysconfig/desktop too
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index be9cf994c..4bdb423fc 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -703,6 +703,7 @@ sub set_autologin {
my $sys_conffile = "$::prefix/etc/sysconfig/desktop";
my %desktop = getVarsFromSh($sys_conffile);
$desktop{DESKTOP} = $autologin->{desktop};
+ $desktop{DISPLAYMANAGER} = $autologin->{dm};
setVarsInSh($sys_conffile, \%desktop);
if ($autologin->{user}) {