summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Xconfig')
-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 92d0457..b87dce8 100644
--- a/lib/Xconfig/card.pm
+++ b/lib/Xconfig/card.pm
@@ -331,7 +331,7 @@ Do you wish to use it?")), 1))) {
Xconfig::proprietary::handle_FIRMWARE($do_pkgs, $card, $o_in);
# handle_FIRMWARE could've changed $card->{Driver}
- my @must_have = "x11-driver-video-$card->{Driver}";
+ my @must_have = if_($card->{Driver} ne 'modesetting', "x11-driver-video-$card->{Driver}");
$do_pkgs->ensure_are_installed([ @must_have, @packages ], 1) or
@must_have == listlength($do_pkgs->are_installed(@must_have))