summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-09-04 11:37:29 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-09-04 11:37:29 +0000
commit7795f1d8d3913209395ac26cd729720bb8b25ac8 (patch)
tree60419b7ec147ad4e869f967792b59ac13d1ba35e /urpm
parente82b57d1d2ad3bffceb7de526d6f30f389d19039 (diff)
downloadurpmi-7795f1d8d3913209395ac26cd729720bb8b25ac8.tar
urpmi-7795f1d8d3913209395ac26cd729720bb8b25ac8.tar.gz
urpmi-7795f1d8d3913209395ac26cd729720bb8b25ac8.tar.bz2
urpmi-7795f1d8d3913209395ac26cd729720bb8b25ac8.tar.xz
urpmi-7795f1d8d3913209395ac26cd729720bb8b25ac8.zip
exclude kernel-source from orphan processing (#53426)
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 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/) {