From: Mike Frysinger Date: Mon, 16 Apr 2007 19:20:28 +0000 (+0000) Subject: modules-update -> update-modules X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6b5e9a1b6a6717d3cd2135f019342180338f75cb;p=gentoo.git modules-update -> update-modules --- 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 # @@ -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 ]