summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2005-01-28 15:15:01 +0000
committerJohn Mylchreest <johnm@gentoo.org>2005-01-28 15:15:01 +0000
commit0deb95385c43e3dc50e0e8f95eb2490480757647 (patch)
tree6cd3d7a77a2773aca15f1f82540204f4bfca2fa1 /eclass/linux-mod.eclass
parentadded ~amd64 to KEYWORDS. fixes bug #79784 (diff)
downloadgentoo-2-0deb95385c43e3dc50e0e8f95eb2490480757647.tar.gz
gentoo-2-0deb95385c43e3dc50e0e8f95eb2490480757647.tar.bz2
gentoo-2-0deb95385c43e3dc50e0e8f95eb2490480757647.zip
checking for modules.d entry before we run modules-update
Diffstat (limited to 'eclass/linux-mod.eclass')
-rw-r--r--eclass/linux-mod.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
index fc5b9f869f91..c3cb893dc46f 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.23 2005/01/16 23:53:00 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.24 2005/01/28 15:15:01 johnm Exp $
# Description: This eclass is used to interface with linux-info in such a way
# to provide the functionality required and initial functions
@@ -108,7 +108,7 @@ update_depmod() {
}
update_modules() {
- if [ -x /sbin/modules-update ] ;
+ if [ -x /sbin/modules-update -a -d ${D}/etc/modules.d/ ] ;
then
ebegin "Updating modules.conf"
/sbin/modules-update