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 ad6b7ee..1aec5b7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix selecting right DKMS flavor (mga#9172)
+
Version 4.26 - 9 February 2013
- add basic support for --downgrade (mga#6655)
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 46793ff..19622fa 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -350,7 +350,7 @@ sub _find_required_package__kmod {
$choices->[0]->name =~ /^dkms-|-kernel-\d\./ or return;
grep {
- if (my ($version, $flavor, $release) = $_->name =~ /(:?.*)-kernel-(\d\..*)-(.*)-(.*)/) {
+ if (my ($version, $flavor, $release) = $_->name =~ /(?:.*)-kernel-(\d\..*)-(.*)-(.*)/) {
my $kernel = "kernel-$flavor-$version-$release";
_is_selected_or_installed($urpm, $db, $kernel);
} elsif ($_->name =~ /^dkms-/) {