From a3993de32f1aa5abeee302461980261dbbf079a9 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Mon, 23 Mar 2009 13:37:45 +0000 Subject: Only show warning about the i810 not supporting graphical inst when appropriate --- perl-install/install/steps_gtk.pm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'perl-install') diff --git a/perl-install/install/steps_gtk.pm b/perl-install/install/steps_gtk.pm index 8532ee616..7e49efdc8 100644 --- a/perl-install/install/steps_gtk.pm +++ b/perl-install/install/steps_gtk.pm @@ -102,9 +102,11 @@ sub new($$) { } elsif (arch() =~ /i.86/) { require Xconfig::card; my ($card) = Xconfig::card::probe(); - # early i810 do not support VESA: - undef @servers if $card && $card->{card_name} eq 'i810'; - log::l("graphical installer not supported on early i810"); + if ($card && $card->{card_name} eq 'i810') { + # early i810 do not support VESA: + log::l("graphical installer not supported on early i810"); + undef @servers; + } } foreach (@servers) { -- cgit v1.2.1