# 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.
-# 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/"
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