summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-04-05 17:42:02 +0000
committerThierry Vignaud <tv@mageia.org>2012-04-05 17:42:02 +0000
commita2881ea1c717d7c3ab60c4bcc477293489bd8f8d (patch)
treedd125749f8c4135a143828c15e4c96e5c373e2dd /lib
parent814a8b03889f0d40cbe6ab919c76e1822f15edb6 (diff)
downloaddrakx-kbd-mouse-x11-a2881ea1c717d7c3ab60c4bcc477293489bd8f8d.tar
drakx-kbd-mouse-x11-a2881ea1c717d7c3ab60c4bcc477293489bd8f8d.tar.gz
drakx-kbd-mouse-x11-a2881ea1c717d7c3ab60c4bcc477293489bd8f8d.tar.bz2
drakx-kbd-mouse-x11-a2881ea1c717d7c3ab60c4bcc477293489bd8f8d.tar.xz
drakx-kbd-mouse-x11-a2881ea1c717d7c3ab60c4bcc477293489bd8f8d.zip
(install_server) fix loading functions
thus fixing crash introduced by anssi in r3925 ["Fix firmware handling (it is DRIVER which needs it, not DRIVER2)"]
Diffstat (limited to 'lib')
-rw-r--r--lib/Xconfig/card.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/card.pm b/lib/Xconfig/card.pm
index 8364dc8..cf07001 100644
--- a/lib/Xconfig/card.pm
+++ b/lib/Xconfig/card.pm
@@ -316,8 +316,8 @@ sub install_server {
delete $card->{Driver2};
}
+ require Xconfig::proprietary;
if ($card->{Driver2}) {
- require Xconfig::proprietary;
Xconfig::proprietary::handle_DRIVER2_NO_SSE($card);
my @pkgs = Xconfig::proprietary::pkgs_for_Driver2($card->{Driver2}, $do_pkgs);
if (@pkgs && (!$o_in || $o_in->ask_yesorno('', formatAlaTeX(N("There is a proprietary driver available for your video card which may support additional features.