diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-08-31 10:03:59 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-08-31 10:03:59 +0000 |
commit | 4584b7d10c4a7263215a8ae2564028100fdef0c2 (patch) | |
tree | 766646567d20da3c4cd14f95d6baf71dcf79c004 | |
parent | e39c0ae9fcae1bdf182617ccfea8064e36b7bcad (diff) | |
download | mga-youri-submit-4584b7d10c4a7263215a8ae2564028100fdef0c2.tar mga-youri-submit-4584b7d10c4a7263215a8ae2564028100fdef0c2.tar.gz mga-youri-submit-4584b7d10c4a7263215a8ae2564028100fdef0c2.tar.bz2 mga-youri-submit-4584b7d10c4a7263215a8ae2564028100fdef0c2.tar.xz mga-youri-submit-4584b7d10c4a7263215a8ae2564028100fdef0c2.zip |
adapt to new SOURCEPACKAGE value in prebuilt dkms kernel
-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; |