diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-01-21 13:52:04 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-01-21 13:52:04 +0000 |
commit | ea9af9cf83abfccc10de6279491cb3190ec158fe (patch) | |
tree | 33bf685c5e86303bfe227d81228a64574c1b446e /perl-install/Xconfig/various.pm | |
parent | 046e5756164fcb3dc121c90267cd4ce517173c1a (diff) | |
download | drakx-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.pm | 2 |
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 } || {}; |