From 23abc95323a1fe787e2db4f07c2dfdc0c78ed4be Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alin=20N=C4=83stac?= Date: Mon, 16 Apr 2007 11:54:35 +0000 Subject: [PATCH] Use update-modules instead deprecated modules-update (#174746) Package-Manager: portage-2.1.2.3 --- net-dialup/mwavem/ChangeLog | 5 ++++- net-dialup/mwavem/mwavem-2.0.ebuild | 8 +++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/net-dialup/mwavem/ChangeLog b/net-dialup/mwavem/ChangeLog index ff1c9c97567b..a8619355ec4d 100644 --- a/net-dialup/mwavem/ChangeLog +++ b/net-dialup/mwavem/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-dialup/mwavem # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/mwavem/ChangeLog,v 1.10 2007/02/22 02:00:02 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/mwavem/ChangeLog,v 1.11 2007/04/16 11:54:35 mrness Exp $ + + 16 Apr 2007; Alin Năstac mwavem-2.0.ebuild: + Use update-modules instead deprecated modules-update (#174746). 22 Feb 2007; Piotr Jaroszyński ChangeLog: Transition to Manifest2. diff --git a/net-dialup/mwavem/mwavem-2.0.ebuild b/net-dialup/mwavem/mwavem-2.0.ebuild index ad1eba032692..a73b0a830887 100644 --- a/net-dialup/mwavem/mwavem-2.0.ebuild +++ b/net-dialup/mwavem/mwavem-2.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/mwavem/mwavem-2.0.ebuild,v 1.6 2006/06/13 10:42:34 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/mwavem/mwavem-2.0.ebuild,v 1.7 2007/04/16 11:54:35 mrness Exp $ DESCRIPTION="User level application for IBM Mwave modem" HOMEPAGE="http://oss.software.ibm.com/acpmodem/" @@ -40,7 +40,9 @@ src_install() { pkg_postinst() { # Below is to get /etc/modules.d/mwave loaded into /etc/modules.conf - [[ ${ROOT} == / ]] && /sbin/modules-update + if [ "$ROOT" = "/" ]; then + [ -x /sbin/update-modules ] && /sbin/update-modules || /sbin/modules-update + fi if [ -e "${ROOT}/dev/.devfsd" ]; then # device node is created by devfs -- 2.26.2