summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfigurator.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-08-18 04:32:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-08-18 04:32:24 +0000
commit94f257d030c1fd411ec48e438db18c657cd97e40 (patch)
treea4537ad6b19dde305ee0422c7b6a8c4ce104dd9b /perl-install/Xconfigurator.pm
parent3441ffe13a56f8b565e950b1c8e40c70b2acd97a (diff)
downloaddrakx-backup-do-not-use-94f257d030c1fd411ec48e438db18c657cd97e40.tar
drakx-backup-do-not-use-94f257d030c1fd411ec48e438db18c657cd97e40.tar.gz
drakx-backup-do-not-use-94f257d030c1fd411ec48e438db18c657cd97e40.tar.bz2
drakx-backup-do-not-use-94f257d030c1fd411ec48e438db18c657cd97e40.tar.xz
drakx-backup-do-not-use-94f257d030c1fd411ec48e438db18c657cd97e40.zip
no_comment
Diffstat (limited to 'perl-install/Xconfigurator.pm')
-rw-r--r--perl-install/Xconfigurator.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm
index 4fd969ef4..5c61322c0 100644
--- a/perl-install/Xconfigurator.pm
+++ b/perl-install/Xconfigurator.pm
@@ -148,8 +148,9 @@ sub keepOnlyLegalModes {
sub cardConfigurationAuto() {
my $card;
- if (my ($c) = (detect_devices::matching_type("DISPLAY"))) {
+ if (my ($c) = detect_devices::probeall()) {
local $_ = $c->{driver};
+ /(Card|Server):/ or next;
$card->{type} = $1 if /Card:(.*)/;
$card->{server} = $1 if /Server:(.*)/;
$card->{flags}{needVideoRam} &&= /86c368/;