diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-12-01 23:32:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-12-01 23:32:41 +0000 |
commit | 6028b6ce56877b4386852dd0fd4d28c3bcbb572e (patch) | |
tree | 4398ac55f1de1bad5fae1f9c81b87d525ae167ef /eclass/kernel-2.eclass | |
parent | Version bump. Updated by MyeongCheol Kim. Bug #391873 (diff) | |
download | historical-6028b6ce56877b4386852dd0fd4d28c3bcbb572e.tar.gz historical-6028b6ce56877b4386852dd0fd4d28c3bcbb572e.tar.bz2 historical-6028b6ce56877b4386852dd0fd4d28c3bcbb572e.zip |
do not warn about /usr/src/linux cruft when installing kernel headers
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 61c1b466379d..bf4a74bfd593 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.262 2011/11/08 01:05:22 mpagano Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.263 2011/12/01 23:32:41 vapier Exp $ # Description: kernel.eclass rewrite for a clean base regarding the 2.6 # series of kernel with back-compatibility for 2.4 @@ -1306,6 +1306,8 @@ kernel-2_pkg_setup() { } kernel-2_pkg_postrm() { + # This warning only makes sense for kernel sources. + [[ ${ETYPE} == headers ]] && return 0 echo ewarn "Note: Even though you have successfully unmerged " ewarn "your kernel package, directories in kernel source location: " @@ -1314,4 +1316,3 @@ kernel-2_pkg_postrm() { ewarn "will not remove these modified files and the directories they reside in." echo } - |