From 840cab856caa8620d921c97b2c782841fc4be7d8 Mon Sep 17 00:00:00 2001 From: damien Date: Mon, 28 Aug 2000 13:56:01 +0000 Subject: updated --- perl-install/Xconfigurator.pm | 5 +++-- perl-install/standalone/draknet | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'perl-install') diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm index a65122957..66914976e 100644 --- a/perl-install/Xconfigurator.pm +++ b/perl-install/Xconfigurator.pm @@ -10,6 +10,7 @@ use detect_devices; use run_program; use Xconfigurator_consts; use any; +use modules; use my_gtk qw(:wrappers); my $tmpconfig = "/tmp/Xconfig"; @@ -1105,13 +1106,13 @@ Would you like X to start when you reboot?"), 1); $l{uid} > 500, $l{name}; } cat_("$o->{prefix}/etc/passwd"); - my lag='yes' + my $flag='no'; unless (exists $o->{miscellaneous}{autologuser} || $::auto || !@users || $o->{authentication}{NIS}) { $in->ask_from_entries_refH(_("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->{miscellaneous}{autologuser}, list => \@users, not_edit => 1} ]) - or delete $o->{miscellaneaous}{autologuser} && flag='no'; + && delete $o->{miscellaneaous}{autologuser} && do { $flag='yes'; system("urpmi --auto autologin"); } ; } any::setAutologin($prefix, $o->{miscellaneous}{autologuser}, "startx", $flag); } diff --git a/perl-install/standalone/draknet b/perl-install/standalone/draknet index 8c4746fd0..2720a0925 100755 --- a/perl-install/standalone/draknet +++ b/perl-install/standalone/draknet @@ -19,7 +19,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -use lib qw (/usr/lib/libDrakX); +use lib qw (..); #(/usr/lib/libDrakX); use interactive; use netconnect; -- cgit v1.2.1