diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2002-03-12 22:19:31 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2002-03-12 22:19:31 +0000 |
commit | 85a23b31bb02c1bb5f288ba421e4a4e946a16136 (patch) | |
tree | 730f15121fd926c498c2649bd13c75bcf211017f /sys-kernel | |
parent | new version, kde 3 now ;) (diff) | |
download | historical-85a23b31bb02c1bb5f288ba421e4a4e946a16136.tar.gz historical-85a23b31bb02c1bb5f288ba421e4a4e946a16136.tar.bz2 historical-85a23b31bb02c1bb5f288ba421e4a4e946a16136.zip |
fixed linux-headers. These bash && clauses really cause strange side-effects.
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/linux-headers/linux-headers-2.4.17-r5.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.17-r5.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.17-r5.ebuild index 3069fb09cd45..4465d1607c4c 100644 --- a/sys-kernel/linux-headers/linux-headers-2.4.17-r5.ebuild +++ b/sys-kernel/linux-headers/linux-headers-2.4.17-r5.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.17-r5.ebuild,v 1.2 2002/03/12 18:22:16 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.17-r5.ebuild,v 1.3 2002/03/12 22:19:31 drobbins Exp $ #OKV=original kernel version, KV=patched kernel version. They can be the same. #we use this next variable to avoid duplicating stuff on cvs @@ -91,10 +91,12 @@ src_install() { } pkg_preinst() { - [ "$PN" = "linux-sources" ] && return - [ -L ${ROOT}usr/include/linux ] && rm ${ROOT}usr/include/linux - [ -L ${ROOT}usr/include/asm ] && rm ${ROOT}usr/include/asm - return + if [ "$PN" = "linux-headers" ] + then + [ -L ${ROOT}usr/include/linux ] && rm ${ROOT}usr/include/linux + [ -L ${ROOT}usr/include/asm ] && rm ${ROOT}usr/include/asm + true + fi } pkg_postinst() { |