diff options
author | Christian Heim <phreak@gentoo.org> | 2007-04-16 14:47:05 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2007-04-16 14:47:05 +0000 |
commit | 3707573d3c749eaf0f48b48fa8946f09fad7f984 (patch) | |
tree | e5ad7283b97591424921416bffa20927773e2535 /net-wireless/ipw3945d | |
parent | Fix cross-distcc (diff) | |
download | gentoo-2-3707573d3c749eaf0f48b48fa8946f09fad7f984.tar.gz gentoo-2-3707573d3c749eaf0f48b48fa8946f09fad7f984.tar.bz2 gentoo-2-3707573d3c749eaf0f48b48fa8946f09fad7f984.zip |
Calling modules-update has been deprecated w/ sys-apps/module-init-tools-3.2.2-r3, thanks to Jakub for the fix (fixes #174754).
(Portage version: 2.1.2.3)
Diffstat (limited to 'net-wireless/ipw3945d')
-rw-r--r-- | net-wireless/ipw3945d/ChangeLog | 7 | ||||
-rw-r--r-- | net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild | 8 |
2 files changed, 10 insertions, 5 deletions
diff --git a/net-wireless/ipw3945d/ChangeLog b/net-wireless/ipw3945d/ChangeLog index 01a6a3741f20..02693fc53ab6 100644 --- a/net-wireless/ipw3945d/ChangeLog +++ b/net-wireless/ipw3945d/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-wireless/ipw3945d # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ChangeLog,v 1.15 2007/02/13 16:42:21 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ChangeLog,v 1.16 2007/04/16 14:47:05 phreak Exp $ + + 16 Apr 2007; Christian Heim <phreak@gentoo.org> ipw3945d-1.7.22-r4.ebuild: + Calling modules-update has been deprecated w/ + sys-apps/module-init-tools-3.2.2-r3, thanks to Jakub for the fix (fixes + #174754). 13 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org> ipw3945d-1.7.22-r4.ebuild: diff --git a/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild b/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild index 2ecc341864f5..1b91f6f77c03 100644 --- a/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild +++ b/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild @@ -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/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild,v 1.7 2007/02/13 16:42:21 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild,v 1.8 2007/04/16 14:47:05 phreak Exp $ inherit eutils @@ -47,9 +47,9 @@ src_install() { pkg_postinst() { # Update the modules.d cache - if [ -f "${ROOT}/etc/modules.d/${PN}" ] ; then - ebegin "Executing /sbin/modules-update" - "${ROOT}"sbin/modules-update --force + if [ "${ROOT}" = "/" ] && [ -f "${ROOT}/etc/modules.d/${PN}" ] ; then + ebegin "Updating modules.conf" + [ -x /sbin/update-modules ] && /sbin/update-modules --force || /sbin/modules-update --force eend $? fi |