diff options
-rw-r--r-- | lib/Youri/Submit/Action/DkmsModuleInfo.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Submit/Action/DkmsModuleInfo.pm b/lib/Youri/Submit/Action/DkmsModuleInfo.pm index 947f1fb..70e7ddc 100644 --- a/lib/Youri/Submit/Action/DkmsModuleInfo.pm +++ b/lib/Youri/Submit/Action/DkmsModuleInfo.pm @@ -39,7 +39,7 @@ sub run { my ($self, $package, $repository, $target, $define) = @_; croak "Not a class method" unless ref $self; - my ($dkms_name) = $package->get_canonical_name =~ /^(.*)-kernel$/ or return; + my ($dkms_name) = $package->get_canonical_name =~ /^dkms-(.*)$/ or return; my $package_name = $package->get_name; my ($kver) = $package_name =~ /^$dkms_name-kernel-(.*)$/ or return; |