summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2000-09-19 23:21:29 +0000
committerdamien <damien@mandriva.com>2000-09-19 23:21:29 +0000
commit923df855c8e0b5b63846a4ae84786806acb02c7c (patch)
tree6e376c751c03cd1e56827987af1bf9cb1d823a3a /perl-install
parenta117445ee6c9611403e523fa212399101e93fc16 (diff)
downloaddrakx-923df855c8e0b5b63846a4ae84786806acb02c7c.tar
drakx-923df855c8e0b5b63846a4ae84786806acb02c7c.tar.gz
drakx-923df855c8e0b5b63846a4ae84786806acb02c7c.tar.bz2
drakx-923df855c8e0b5b63846a4ae84786806acb02c7c.tar.xz
drakx-923df855c8e0b5b63846a4ae84786806acb02c7c.zip
updated
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Xconfigurator.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm
index 533e15217..c145a7569 100644
--- a/perl-install/Xconfigurator.pm
+++ b/perl-install/Xconfigurator.pm
@@ -1112,9 +1112,9 @@ sub autologin {
_("I can set up your computer to automatically log on one user.
If you don't want to use this feature, click on the cancel button."),
[ _("Choose the default user:") => { val => \$o->{autologin}, list => [ '', @users ] },
- _("Choose the window_manager to run:") => { val => \$o->{desktop}, list => \@wm }, ]) or delete $o->{autologin};
+ _("Choose the window manager to run:") => { val => \$o->{desktop}, list => \@wm }, ]) or delete $o->{autologin};
}
- $o->{autologin} and $install->('autologin');
+ $o->{autologin} and $::isStandalone ? system("urpmi --auto autologin") : $in->pkg_install("autologin");
any::setAutologin($prefix, $o->{autologin}, $o->{desktop});
run_program::rooted($prefix, "chkconfig", "--del", "gpm") if $o->{mouse}{device} =~ /ttyS/ && !$::isStandalone;
}