From 7795f1d8d3913209395ac26cd729720bb8b25ac8 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Fri, 4 Sep 2009 11:37:29 +0000 Subject: exclude kernel-source from orphan processing (#53426) --- urpm/orphans.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm') 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/) { -- cgit v1.2.1