summaryrefslogtreecommitdiffstats
path: root/urpm/orphans.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/orphans.pm')
-rw-r--r--urpm/orphans.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/orphans.pm b/urpm/orphans.pm
index ce4cac8c..c88c6fc3 100644
--- a/urpm/orphans.pm
+++ b/urpm/orphans.pm
@@ -320,7 +320,7 @@ sub _kernel_callback {
return if $shortname !~ /^kernel-/;
# only consider real kernels (and not kernel-doc and the like):
- return if $shortname =~ /-(?:doc|headers|firmware(?:|-extra))$/;
+ return if $shortname =~ /-(?:source|doc|headers|firmware(?:|-extra))$/;
# keep track of latest kernels in order not to try removing requested kernels:
if ($n =~ /latest/) {