summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/proprietary.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Xconfig/proprietary.pm')
-rw-r--r--lib/Xconfig/proprietary.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Xconfig/proprietary.pm b/lib/Xconfig/proprietary.pm
index 9205c5c..2c5e713 100644
--- a/lib/Xconfig/proprietary.pm
+++ b/lib/Xconfig/proprietary.pm
@@ -39,7 +39,8 @@ sub pkgs_for_Driver2 {
my ($pkg, $base_name) = ($Driver2 =~ /^fglrx/ || $Driver2 =~ /^nvidia/) ?
("x11-driver-video-$Driver2", $Driver2) : () or return;
- $do_pkgs->is_available($pkg) or log::l("proprietary package $pkg not available"), return;
+ $do_pkgs->is_installed($pkg) || $do_pkgs->is_available($pkg) or
+ log::l("proprietary package $pkg not available"), return;
my $module_pkgs = $do_pkgs->check_kernel_module_packages($base_name) or
log::l("$pkg available, but no kernel module package (for installed kernels, and no dkms)"), return;