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 | 0fa3620c2988b7aba73f196c0625232595ebbb55 (patch) | |
tree | 92b925537e97b062461f04204c998e4012f152d3 /eclass/linux-mod.eclass | |
parent | version bump as per bug #198349. removed old version (diff) | |
download | gentoo-2-0fa3620c2988b7aba73f196c0625232595ebbb55.tar.gz gentoo-2-0fa3620c2988b7aba73f196c0625232595ebbb55.tar.bz2 gentoo-2-0fa3620c2988b7aba73f196c0625232595ebbb55.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() { |