summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/orphans.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/orphans.pm b/urpm/orphans.pm
index 8ed2d3eb..6d427412 100644
--- a/urpm/orphans.pm
+++ b/urpm/orphans.pm
@@ -454,7 +454,7 @@ sub _kernel_callback {
}
# only consider real kernels (and not kernel-doc and the like):
- return if $shortname =~ /-(?:source|doc|headers|firmware(?:|-extra))$/;
+ return if $shortname =~ /-(?:source|doc|headers|firmware(?:|-extra|-nonfree))$/;
# ignore requested kernels (aka that are not in /var/lib/rpm/installed-through-deps.list)
return if !$unreq_list->{$shortname} && $shortname !~ /latest/;