summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Xconfig/card.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Xconfig/card.pm b/lib/Xconfig/card.pm
index 2e40890..273fb98 100644
--- a/lib/Xconfig/card.pm
+++ b/lib/Xconfig/card.pm
@@ -307,7 +307,9 @@ sub install_server {
if ($card->{Driver2}) {
require Xconfig::proprietary;
- push @packages, Xconfig::proprietary::pkgs_for_Driver2($card, $do_pkgs);
+ if (!Xconfig::proprietary::may_use_Driver2($card)) {
+ push @packages, Xconfig::proprietary::pkgs_for_Driver2($card, $do_pkgs);
+ }
}
$do_pkgs->ensure_are_installed([ @must_have, @packages ], 1) or