summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-04-16 11:54:35 +0000
committerAlin Năstac <mrness@gentoo.org>2007-04-16 11:54:35 +0000
commit23abc95323a1fe787e2db4f07c2dfdc0c78ed4be (patch)
tree46f296b98e6a8da3c0cae7aefef29fcca7b09a52 /net-dialup
parentUse update-modules (diff)
downloadhistorical-23abc95323a1fe787e2db4f07c2dfdc0c78ed4be.tar.gz
historical-23abc95323a1fe787e2db4f07c2dfdc0c78ed4be.tar.bz2
historical-23abc95323a1fe787e2db4f07c2dfdc0c78ed4be.zip
Use update-modules instead deprecated modules-update (#174746)
Package-Manager: portage-2.1.2.3
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/mwavem/ChangeLog5
-rw-r--r--net-dialup/mwavem/mwavem-2.0.ebuild8
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 <mrness@gentoo.org> mwavem-2.0.ebuild:
+ Use update-modules instead deprecated modules-update (#174746).
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> 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