summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/various.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-21 13:52:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-21 13:52:04 +0000
commitea9af9cf83abfccc10de6279491cb3190ec158fe (patch)
tree33bf685c5e86303bfe227d81228a64574c1b446e /perl-install/Xconfig/various.pm
parent046e5756164fcb3dc121c90267cd4ce517173c1a (diff)
downloaddrakx-ea9af9cf83abfccc10de6279491cb3190ec158fe.tar
drakx-ea9af9cf83abfccc10de6279491cb3190ec158fe.tar.gz
drakx-ea9af9cf83abfccc10de6279491cb3190ec158fe.tar.bz2
drakx-ea9af9cf83abfccc10de6279491cb3190ec158fe.tar.xz
drakx-ea9af9cf83abfccc10de6279491cb3190ec158fe.zip
have Xfree version at only one place
(nb: it would be better to parse available package and get version from it.)
Diffstat (limited to 'perl-install/Xconfig/various.pm')
-rw-r--r--perl-install/Xconfig/various.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/various.pm b/perl-install/Xconfig/various.pm
index 12d23f0b3..ae74020fb 100644
--- a/perl-install/Xconfig/various.pm
+++ b/perl-install/Xconfig/various.pm
@@ -12,7 +12,7 @@ use common;
sub info {
my ($raw_X, $card) = @_;
my $info;
- my $xf_ver = Xconfig::card::using_xf4($card) ? "4.2.1" : "3.3.6";
+ my $xf_ver = Xconfig::card::using_xf4($card) ? Xconfig::card::xfree4_version() : Xconfig::card::xfree3_version();
my $title = $card->{use_DRI_GLX} || $card->{use_UTAH_GLX} ?
N("XFree %s with 3D hardware acceleration", $xf_ver) : N("XFree %s", $xf_ver);
my $keyboard = eval { $raw_X->get_keyboard } || {};