aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--URPM/Resolve.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 22825bf..3c5d0a8 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix regression in release 3.06
+
Version 3.06 - 11 January 2008, by Pascal "Pixel" Rigaux
- add URPM::Package->changelogs, a wrapper around ->changelog_time, ->changelog_name, ->changelog_text
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};