summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-03-23 13:37:45 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-03-23 13:37:45 +0000
commita3993de32f1aa5abeee302461980261dbbf079a9 (patch)
tree3a322b4d76f18421cc86781bd2b6185ec1cf2121
parentecb3f77398006a29a7b686b77c4653c5c5a1c066 (diff)
downloaddrakx-a3993de32f1aa5abeee302461980261dbbf079a9.tar
drakx-a3993de32f1aa5abeee302461980261dbbf079a9.tar.gz
drakx-a3993de32f1aa5abeee302461980261dbbf079a9.tar.bz2
drakx-a3993de32f1aa5abeee302461980261dbbf079a9.tar.xz
drakx-a3993de32f1aa5abeee302461980261dbbf079a9.zip
Only show warning about the i810 not supporting graphical inst when appropriate
-rw-r--r--perl-install/install/steps_gtk.pm8
1 files changed, 5 insertions, 3 deletions
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) {