diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-05-01 20:40:49 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-05-01 20:40:49 +0000 |
commit | 783137dd06cd5a36b91dba26f120e7f90f37a1da (patch) | |
tree | abd12a13ee7ba55b5a7556d1b1aefef08dc17aad /perl-install/any.pm | |
parent | 21687a7da32c0550209112890582f02d1d38ee56 (diff) | |
download | drakx-783137dd06cd5a36b91dba26f120e7f90f37a1da.tar drakx-783137dd06cd5a36b91dba26f120e7f90f37a1da.tar.gz drakx-783137dd06cd5a36b91dba26f120e7f90f37a1da.tar.bz2 drakx-783137dd06cd5a36b91dba26f120e7f90f37a1da.tar.xz drakx-783137dd06cd5a36b91dba26f120e7f90f37a1da.zip |
make xdm installation automatic in auto_inst mode (mga#9875)
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r-- | perl-install/any.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index eb7b86e06..33afd1743 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -705,15 +705,15 @@ sub is_standalone_autologin_needed { } sub set_autologin { - my ($do_pkgs, $autologin) = @_; + my ($do_pkgs, $autologin, $o_auto) = @_; log::l("set_autologin $autologin->{user} $autologin->{desktop}"); my $do_autologin = bool2text($autologin->{user}); $autologin->{dm} ||= 'xdm'; - $do_pkgs->ensure_is_installed($autologin->{dm}) + $do_pkgs->ensure_is_installed($autologin->{dm}, undef, $o_auto) or return; if ($autologin->{user} && is_standalone_autologin_needed($autologin->{dm})) { - $do_pkgs->ensure_is_installed('autologin', '/usr/bin/startx.autologin') + $do_pkgs->ensure_is_installed('autologin', '/usr/bin/startx.autologin', $o_auto) or return; } |