aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Resolve.pm
diff options
context:
space:
mode:
Diffstat (limited to 'URPM/Resolve.pm')
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 7af6b2b..53830cb 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -272,7 +272,7 @@ sub _find_required_package__kmod {
if (my ($name, $version, $flavor, $release) = $_->name =~ /(.*)-kernel-(2\..*)-(.*)-(.*)/) {
my $kernel = "kernel-$flavor-$version-$release";
_is_selected_or_installed($urpm, $db, $kernel);
- } elsif ($_->{name} =~ /^dkms-/) {
+ } elsif ($_->name =~ /^dkms-/) {
0; # we prefer precompiled dkms
} else {
$urpm->{debug_URPM}("unknown kmod package " . $_->fullname) if $urpm->{debug_URPM};