aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-03-23 16:05:08 +0000
committerThierry Vignaud <tv@mageia.org>2013-03-23 16:05:08 +0000
commite5058ae647fa4893f1a4bc6b4139b7289bb8005a (patch)
tree90cbcfed4d41a64c9bfd6423fc69cc934429acae /URPM
parent251e6cf737712249203798cd6a53766452d4240d (diff)
downloadperl-URPM-e5058ae647fa4893f1a4bc6b4139b7289bb8005a.tar
perl-URPM-e5058ae647fa4893f1a4bc6b4139b7289bb8005a.tar.gz
perl-URPM-e5058ae647fa4893f1a4bc6b4139b7289bb8005a.tar.bz2
perl-URPM-e5058ae647fa4893f1a4bc6b4139b7289bb8005a.tar.xz
perl-URPM-e5058ae647fa4893f1a4bc6b4139b7289bb8005a.zip
fix selecting right DKMS flavor (mga#9172)
Diffstat (limited to 'URPM')
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
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-/) {