diff options
-rw-r--r-- | lib/Iurt/DKMS.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/DKMS.pm b/lib/Iurt/DKMS.pm index 5ab46c8..9e2ffdb 100644 --- a/lib/Iurt/DKMS.pm +++ b/lib/Iurt/DKMS.pm @@ -84,7 +84,7 @@ sub search_dkms { my $hdr = RPM4::Header->new("$path/$rpm"); my $files = $hdr->queryformat('[%{FILENAMES} ])'); my $version = $1; - if ($version =~ /(.*)source-(.*)/) { + if ($version =~ /(.*)source-(.*)/ || $version =~ /(.*)devel-(.*)/) { my $source = "$1$2"; my ($sourcedir) = $files =~ m, /usr/src/([^/ ]+),; plog('NOTIFY', "kernel source $version ($source sourcedir $sourcedir)"); |