# 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
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
}
# 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>
#
matrox_base_pkg_postinst() {
if [ "${ROOT}" = "/" ]
then
- /sbin/modules-update
+ /sbin/update-modules
fi
if [ ! -d /dev/video ]