summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-04-16 19:20:28 +0000
committerMike Frysinger <vapier@gentoo.org>2007-04-16 19:20:28 +0000
commit2f7d9b6e9e9656522e46131224ab3b684d804f0c (patch)
treeaac492eab5f26f9dbe89bef08e829cecbe5911e0 /eclass
parentStable on amd64 wrt bug 174805 (diff)
downloadgentoo-2-2f7d9b6e9e9656522e46131224ab3b684d804f0c.tar.gz
gentoo-2-2f7d9b6e9e9656522e46131224ab3b684d804f0c.tar.bz2
gentoo-2-2f7d9b6e9e9656522e46131224ab3b684d804f0c.zip
modules-update -> update-modules
Diffstat (limited to 'eclass')
-rw-r--r--eclass/linux-mod.eclass6
-rw-r--r--eclass/matrox.eclass4
2 files changed, 5 insertions, 5 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
index 7f2539a17063..e2b3a927d896 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.73 2007/04/16 08:13:40 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.74 2007/04/16 19:20:28 vapier Exp $
# Description: This eclass is used to interface with linux-info in such a way
# to provide the functionality required and initial functions
@@ -188,10 +188,10 @@ update_modules() {
ebegin "Updating modules.conf"
/sbin/update-modules
eend $?
- elif [ -x /sbin/modules-update ] && \
+ elif [ -x /sbin/update-modules ] && \
grep -v -e "^#" -e "^$" ${D}/etc/modules.d/* >/dev/null 2>&1; then
ebegin "Updating modules.conf"
- /sbin/modules-update
+ /sbin/update-modules
eend $?
fi
}
diff --git a/eclass/matrox.eclass b/eclass/matrox.eclass
index 67234f6e343d..e8f9764a6b45 100644
--- a/eclass/matrox.eclass
+++ b/eclass/matrox.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/matrox.eclass,v 1.17 2007/04/12 18:49:00 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/matrox.eclass,v 1.18 2007/04/16 19:20:28 vapier Exp $
#
# Author: Donnie Berkholz <spyderous@gentoo.org>
#
@@ -87,7 +87,7 @@ matrox_base_src_install() {
matrox_base_pkg_postinst() {
if [ "${ROOT}" = "/" ]
then
- /sbin/modules-update
+ /sbin/update-modules
fi
if [ ! -d /dev/video ]