diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-10-13 15:11:24 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-10-13 15:11:24 +0000 |
commit | 67533292b6db804e4f3beb4f4902edff3078c04d (patch) | |
tree | d56e4c430c01d864cc5f96b318af69fa37e31464 /urpm/orphans.pm | |
parent | 963ede068000985a2c547486a48921bcc0287609 (diff) | |
download | urpmi-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.pm | 2 |
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/) { |