summaryrefslogtreecommitdiffstats
path: root/urpm/orphans.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-10-15 16:23:24 +0000
committerThierry Vignaud <tv@mageia.org>2012-10-15 16:23:24 +0000
commita93c0cf7864afd4108deac8f094270e97a7e0f21 (patch)
treed328d00613047971a7e01c68b12b04a1ba4a4def /urpm/orphans.pm
parentbd9e851d5d653bdce2537e9b717a8e07838a0aa8 (diff)
downloadurpmi-a93c0cf7864afd4108deac8f094270e97a7e0f21.tar
urpmi-a93c0cf7864afd4108deac8f094270e97a7e0f21.tar.gz
urpmi-a93c0cf7864afd4108deac8f094270e97a7e0f21.tar.bz2
urpmi-a93c0cf7864afd4108deac8f094270e97a7e0f21.tar.xz
urpmi-a93c0cf7864afd4108deac8f094270e97a7e0f21.zip
(_kernel_callback) we really don't care about versions here
Diffstat (limited to 'urpm/orphans.pm')
-rw-r--r--urpm/orphans.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/orphans.pm b/urpm/orphans.pm
index ae6b1f71..e056d105 100644
--- a/urpm/orphans.pm
+++ b/urpm/orphans.pm
@@ -372,7 +372,7 @@ sub _kernel_callback {
# only consider kernels (and not main 'kernel' package):
# but perform a pass on their requires for dkms like packages that require a specific kernel:
if ($shortname !~ /kernel-/) {
- foreach (grep { /kernel/ } $pkg->requires) {
+ foreach (grep { /kernel/ } $pkg->requires_nosense) {
$requested_kernels{$_}{$shortname} = $pkg;
}
return;