summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-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`;
}