aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-01-11 09:23:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-01-11 09:23:58 +0000
commit1dfe33f5ed49db75e2d1b8cb6b74635fe423b456 (patch)
tree2480a6f41bcd0a9ca07fb47282eb85cf811d7186
parentc68dfff42ca1fcbf4e4c72bbe1f02c16211cfdce (diff)
downloadperl-URPM-1dfe33f5ed49db75e2d1b8cb6b74635fe423b456.tar
perl-URPM-1dfe33f5ed49db75e2d1b8cb6b74635fe423b456.tar.gz
perl-URPM-1dfe33f5ed49db75e2d1b8cb6b74635fe423b456.tar.bz2
perl-URPM-1dfe33f5ed49db75e2d1b8cb6b74635fe423b456.tar.xz
perl-URPM-1dfe33f5ed49db75e2d1b8cb6b74635fe423b456.zip
fix typo
-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};