summaryrefslogtreecommitdiffstats
path: root/urpm/orphans.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-10-13 15:11:24 +0000
committerThierry Vignaud <tv@mandriva.org>2009-10-13 15:11:24 +0000
commit67533292b6db804e4f3beb4f4902edff3078c04d (patch)
treed56e4c430c01d864cc5f96b318af69fa37e31464 /urpm/orphans.pm
parent963ede068000985a2c547486a48921bcc0287609 (diff)
downloadurpmi-67533292b6db804e4f3beb4f4902edff3078c04d.tar
urpmi-67533292b6db804e4f3beb4f4902edff3078c04d.tar.gz
urpmi-67533292b6db804e4f3beb4f4902edff3078c04d.tar.bz2
urpmi-67533292b6db804e4f3beb4f4902edff3078c04d.tar.xz
urpmi-67533292b6db804e4f3beb4f4902edff3078c04d.zip
fix bogus logic referencing non existent variables introduced in commit r261072
by pterjan on 2009-09-28 which just broke kernel orphaning (was: "Do not list as orphans kernel packages which where not installe through dependencies (#53425)" warning: run perl_checker next time!!!
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 1149fb16..10317b76 100644
--- a/urpm/orphans.pm
+++ b/urpm/orphans.pm
@@ -323,7 +323,7 @@ sub _kernel_callback {
return if $shortname =~ /-(?:source|doc|headers|firmware(?:|-extra))$/;
# ignore requested kernels
- return unless %l->{$shortname};
+ return unless $l{$shortname};
# keep track of latest kernels in order not to try removing requested kernels:
if ($n =~ /latest/) {