From 253492f52af65de578c6798c48568f5c3a6df4f7 Mon Sep 17 00:00:00 2001
From: Guillaume Cottenceau <gc@mandriva.com>
Date: Thu, 11 Sep 2003 12:54:33 +0000
Subject: don't use images for language choice in vga16, it's too ugly

---
 perl-install/any.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/perl-install/any.pm b/perl-install/any.pm
index 910567547..f9f2ff3b5 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -659,7 +659,7 @@ sub selectLanguage {
 
     if ($::isInstall) {
 	my $langs = $langs_ || {};
-	my $using_images = $in->isa('interactive::gtk');
+	my $using_images = $in->isa('interactive::gtk') && listlength(cat_('/proc/fb'));
 
 	#- to create the default value, use the first location for that value :/
 	$lang = first(lang::l2location($lang))."|$lang";
-- 
cgit v1.2.1