summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to '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