aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-08-21 10:32:17 +0000
committerOlivier Blin <oblin@mandriva.com>2008-08-21 10:32:17 +0000
commit371569dcc052d9806f44807909b0f2a3e1973107 (patch)
tree4393eda48f49b34759affd615e9611f1ab4da072 /lib/Iurt
parentc4ba505182fce1644f4db07a3a8640e416d1c7cc (diff)
downloadiurt-371569dcc052d9806f44807909b0f2a3e1973107.tar
iurt-371569dcc052d9806f44807909b0f2a3e1973107.tar.gz
iurt-371569dcc052d9806f44807909b0f2a3e1973107.tar.bz2
iurt-371569dcc052d9806f44807909b0f2a3e1973107.tar.xz
iurt-371569dcc052d9806f44807909b0f2a3e1973107.zip
do not try to uselessly detect latest modules
Diffstat (limited to 'lib/Iurt')
-rw-r--r--lib/Iurt/DKMS.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/DKMS.pm b/lib/Iurt/DKMS.pm
index 4d4b3e6..c18cd51 100644
--- a/lib/Iurt/DKMS.pm
+++ b/lib/Iurt/DKMS.pm
@@ -106,7 +106,7 @@ sub search_dkms {
plog('NOTIFY', "skipping kernel $version (no modules dir)");
}
}
- } elsif ($rpm =~ /^(.*)-kernel-([^-]+-[^-]+.*)-([^-]+-[^-]+)\.[^.]+\.rpm$/) {
+ } elsif ($rpm =~ /^(.*)-kernel-([^-]+-[^-]+.*)-([^-]+-[^-]+)\.[^.]+\.rpm$/ && $rpm !~ /-latest-/) {
plog('NOTIFY', "modules $1 version $3 for kernel $2");
# module version kernel
$modules{$1}{$3}{$2} = 1;