diff options
author | John Mylchreest <johnm@gentoo.org> | 2006-03-27 10:49:59 +0000 |
---|---|---|
committer | John Mylchreest <johnm@gentoo.org> | 2006-03-27 10:49:59 +0000 |
commit | 95892d1a979c979ad2153839d86368bdc4cb70d9 (patch) | |
tree | 35ac09f5f40df0658925b60e4233f14e18cd2211 /eclass/kernel-2.eclass | |
parent | Modular X Love Closes bug #126926. Remove older version. (diff) | |
download | gentoo-2-95892d1a979c979ad2153839d86368bdc4cb70d9.tar.gz gentoo-2-95892d1a979c979ad2153839d86368bdc4cb70d9.tar.bz2 gentoo-2-95892d1a979c979ad2153839d86368bdc4cb70d9.zip |
Change logic ever so slightly in symlink handling
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 2a23c3ffd817..cfde3136a62f 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.165 2006/03/18 18:38:11 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.166 2006/03/27 10:49:59 johnm Exp $ # Description: kernel.eclass rewrite for a clean base regarding the 2.6 # series of kernel with back-compatibility for 2.4 @@ -601,7 +601,7 @@ postinst_sources() { use symlink && K_SYMLINK=1 # if we are to forcably symlink, delete it if it already exists first. - if [[ -n ${K_SYMLINK} ]]; then + if [[ ${K_SYMLINK} > 0 ]]; then [[ -h ${ROOT}usr/src/linux ]] && rm ${ROOT}usr/src/linux MAKELINK=1 fi |