summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--lib/Xconfig/card.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 44667f6..1ec4c35 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix crash introduced in 0.100 (mga#5238)
+
Version 0.100 - 05 April 2012
- do not run setxkbmap during text install
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.