summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/main.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-29 11:19:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-29 11:19:48 +0000
commit778076a69cac340efcc2dbdc8fb266e736f38c35 (patch)
treea37c354592290d0a8df61a4f91bad35da751bed8 /perl-install/Xconfig/main.pm
parent56cb389085d559921215eba667e49bdc7ab63640 (diff)
downloaddrakx-778076a69cac340efcc2dbdc8fb266e736f38c35.tar
drakx-778076a69cac340efcc2dbdc8fb266e736f38c35.tar.gz
drakx-778076a69cac340efcc2dbdc8fb266e736f38c35.tar.bz2
drakx-778076a69cac340efcc2dbdc8fb266e736f38c35.tar.xz
drakx-778076a69cac340efcc2dbdc8fb266e736f38c35.zip
restore xdm choice previous behaviour (auto_install)
Diffstat (limited to 'perl-install/Xconfig/main.pm')
-rw-r--r--perl-install/Xconfig/main.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/main.pm b/perl-install/Xconfig/main.pm
index 1e90aca24..909c23108 100644
--- a/perl-install/Xconfig/main.pm
+++ b/perl-install/Xconfig/main.pm
@@ -44,7 +44,7 @@ sub configure_everything_auto_install {
$raw_X->write;
symlinkf "../..$card->{prog}", "$::prefix/etc/X11/X" if $card->{server} !~ /Xpmac/;
- any::runlevel($::prefix, $old_X->{xdm} ? 5 : 3);
+ any::runlevel($::prefix, exists $old_X->{xdm} && !$old_X->{xdm} ? 3 : 5);
}
sub configure_everything {