summaryrefslogtreecommitdiffstats
path: root/urpm/orphans.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-08-20 14:22:55 +0000
committerThierry Vignaud <tv@mandriva.org>2009-08-20 14:22:55 +0000
commitd79436a7920bb640b12d3885c292acb1f6f16c5d (patch)
treec7145cec06fab401a8477843bc8092ee45e1255a /urpm/orphans.pm
parente6396fe8683c1b43098efc8f60a09025c60e8192 (diff)
downloadurpmi-d79436a7920bb640b12d3885c292acb1f6f16c5d.tar
urpmi-d79436a7920bb640b12d3885c292acb1f6f16c5d.tar.gz
urpmi-d79436a7920bb640b12d3885c292acb1f6f16c5d.tar.bz2
urpmi-d79436a7920bb640b12d3885c292acb1f6f16c5d.tar.xz
urpmi-d79436a7920bb640b12d3885c292acb1f6f16c5d.zip
(_get_current_kernel_package) explain
Diffstat (limited to 'urpm/orphans.pm')
-rw-r--r--urpm/orphans.pm1
1 files changed, 1 insertions, 0 deletions
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`;
}