From 67533292b6db804e4f3beb4f4902edff3078c04d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 13 Oct 2009 15:11:24 +0000 Subject: 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!!! --- urpm/orphans.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm/orphans.pm') 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/) { -- cgit v1.2.1