diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-09-04 11:37:29 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-09-04 11:37:29 +0000 |
commit | 7795f1d8d3913209395ac26cd729720bb8b25ac8 (patch) | |
tree | 60419b7ec147ad4e869f967792b59ac13d1ba35e /urpm/orphans.pm | |
parent | e82b57d1d2ad3bffceb7de526d6f30f389d19039 (diff) | |
download | urpmi-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/orphans.pm')
-rw-r--r-- | urpm/orphans.pm | 2 |
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/) { |