summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-05 13:27:34 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-05 13:27:34 +0000
commit6fecece961769c56a4e5250fd5255d03f73bb3e1 (patch)
tree1f8ae8b0927d2201bbf065bfb9f25dd2425306cc
parentbe96838b565e245343d4304956c883def1c09de9 (diff)
downloaddraklive-install-6fecece961769c56a4e5250fd5255d03f73bb3e1.tar
draklive-install-6fecece961769c56a4e5250fd5255d03f73bb3e1.tar.gz
draklive-install-6fecece961769c56a4e5250fd5255d03f73bb3e1.tar.bz2
draklive-install-6fecece961769c56a4e5250fd5255d03f73bb3e1.tar.xz
draklive-install-6fecece961769c56a4e5250fd5255d03f73bb3e1.zip
do not reset dm to xdm after live install
-rwxr-xr-xdraklive-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/draklive-install b/draklive-install
index f427516..1a99f2c 100755
--- a/draklive-install
+++ b/draklive-install
@@ -288,7 +288,8 @@ sub complete_install {
my $kdm_cfg = common::read_alternative('kdm4-config');
update_gnomekderc($::prefix . $kdm_cfg,
'X-:0-Greeter' => (PreselectUser => 'None', DefaultUser => '')) if -f $kdm_cfg;
- any::set_autologin($in->do_pkgs, undef);
+ my $autologin = any::get_autologin();
+ any::set_autologin($in->do_pkgs, { dm => $autologin->{dm} });
#- allow to install doc in disk install
substInFile { undef $_ if /^\%_excludedocs/ } $::prefix . '/etc/rpm/macros';