From d79436a7920bb640b12d3885c292acb1f6f16c5d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 20 Aug 2009 14:22:55 +0000 Subject: (_get_current_kernel_package) explain --- urpm/orphans.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/urpm/orphans.pm b/urpm/orphans.pm index 04308e26..47356813 100644 --- a/urpm/orphans.pm +++ b/urpm/orphans.pm @@ -293,6 +293,7 @@ sub _will_prop_still_be_needed { # so that we can filter out current running kernel: sub _get_current_kernel_package() { my $release = (POSIX::uname())[2]; + # --qf '%{name}' is used in order to provide the right format: `rpm -qf --qf '%{name}' /boot/vmlinuz-$release`; } -- cgit v1.2.1