diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-11-16 06:12:01 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-11-16 06:12:01 +0000 |
commit | 76bfdb6148459f25f5e6089280536b0e17647af4 (patch) | |
tree | 9068d700086ba312365520d4312a88d69e676190 /eclass/linux-mod.eclass | |
parent | version bump as per bug #198349. removed old version (diff) | |
download | historical-76bfdb6148459f25f5e6089280536b0e17647af4.tar.gz historical-76bfdb6148459f25f5e6089280536b0e17647af4.tar.bz2 historical-76bfdb6148459f25f5e6089280536b0e17647af4.zip |
Replace references to deprecated ${IMAGE} with equivalent ${D}.
These seem to be the last ${IMAGE} references in the whole tree.
Diffstat (limited to 'eclass/linux-mod.eclass')
-rw-r--r-- | eclass/linux-mod.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index 27ec2eab8130..9e2cfe387262 100644 --- a/eclass/linux-mod.eclass +++ b/eclass/linux-mod.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.76 2007/10/03 12:55:18 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.77 2007/11/16 06:12:01 zmedico Exp $ # Description: This eclass is used to interface with linux-info in such a way # to provide the functionality required and initial functions @@ -555,9 +555,9 @@ linux-mod_src_install() { linux-mod_pkg_preinst() { debug-print-function ${FUNCNAME} $* - [ -d ${IMAGE}/lib/modules ] && UPDATE_DEPMOD=true || UPDATE_DEPMOD=false - [ -d ${IMAGE}/etc/modules.d ] && UPDATE_MODULES=true || UPDATE_MODULES=false - [ -d ${IMAGE}/lib/modules ] && UPDATE_MODULEDB=true || UPDATE_MODULEDB=false + [ -d "${D}lib/modules" ] && UPDATE_DEPMOD=true || UPDATE_DEPMOD=false + [ -d "${D}etc/modules.d" ] && UPDATE_MODULES=true || UPDATE_MODULES=false + [ -d "${D}lib/modules" ] && UPDATE_MODULEDB=true || UPDATE_MODULEDB=false } linux-mod_pkg_postinst() { |