summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2007-04-16 14:53:54 +0000
committerChristian Heim <phreak@gentoo.org>2007-04-16 14:53:54 +0000
commit1ba298ef2d7927652a6b3302d7dce61d798907f8 (patch)
tree0120a24feaee76e1596423c70a7852bf37161cb7 /app-laptop/toshiba-utils
parentAgain ~sparc (diff)
downloadgentoo-2-1ba298ef2d7927652a6b3302d7dce61d798907f8.tar.gz
gentoo-2-1ba298ef2d7927652a6b3302d7dce61d798907f8.tar.bz2
gentoo-2-1ba298ef2d7927652a6b3302d7dce61d798907f8.zip
Calling modules-update has been deprecated w/ sys-apps/module-init-tools-3.2.2-r3, thanks to Jakub for the fix (fixes #174761).
(Portage version: 2.1.2.3)
Diffstat (limited to 'app-laptop/toshiba-utils')
-rw-r--r--app-laptop/toshiba-utils/ChangeLog8
-rw-r--r--app-laptop/toshiba-utils/toshiba-utils-2.0.1-r1.ebuild8
-rw-r--r--app-laptop/toshiba-utils/toshiba-utils-2.0.1-r2.ebuild6
3 files changed, 16 insertions, 6 deletions
diff --git a/app-laptop/toshiba-utils/ChangeLog b/app-laptop/toshiba-utils/ChangeLog
index f6b35afa8b5e..791ca6af221f 100644
--- a/app-laptop/toshiba-utils/ChangeLog
+++ b/app-laptop/toshiba-utils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-laptop/toshiba-utils
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/toshiba-utils/ChangeLog,v 1.9 2007/01/12 12:36:12 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/toshiba-utils/ChangeLog,v 1.10 2007/04/16 14:53:54 phreak Exp $
+
+ 16 Apr 2007; Christian Heim <phreak@gentoo.org>
+ toshiba-utils-2.0.1-r1.ebuild, toshiba-utils-2.0.1-r2.ebuild:
+ Calling modules-update has been deprecated w/
+ sys-apps/module-init-tools-3.2.2-r3, thanks to Jakub for the fix (fixes
+ #174761).
*toshiba-utils-2.0.1-r2 (12 Jan 2007)
diff --git a/app-laptop/toshiba-utils/toshiba-utils-2.0.1-r1.ebuild b/app-laptop/toshiba-utils/toshiba-utils-2.0.1-r1.ebuild
index 2b7a9a5ebd6e..c08746d0a4ce 100644
--- a/app-laptop/toshiba-utils/toshiba-utils-2.0.1-r1.ebuild
+++ b/app-laptop/toshiba-utils/toshiba-utils-2.0.1-r1.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/app-laptop/toshiba-utils/toshiba-utils-2.0.1-r1.ebuild,v 1.7 2006/06/13 10:04:33 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/toshiba-utils/toshiba-utils-2.0.1-r1.ebuild,v 1.8 2007/04/16 14:53:54 phreak Exp $
inherit eutils
@@ -50,7 +50,9 @@ src_install() {
pkg_postinst() {
ewarn "Dont forget Toshiba Laptop Support for your kernel."
ewarn "(under Processor Type and Features, CONFIG_TOSHIBA)"
- [[ ${ROOT} == / ]] && /sbin/modules-update || return 0
+ if [[ ${ROOT} == / ]] ; then
+ [[ -x /sbin/update-modules ]] && /sbin/update-modules || /sbin/modules-update
+ fi
}
pkg_config() {
diff --git a/app-laptop/toshiba-utils/toshiba-utils-2.0.1-r2.ebuild b/app-laptop/toshiba-utils/toshiba-utils-2.0.1-r2.ebuild
index bb149d44a81c..b6571f7ec1f0 100644
--- a/app-laptop/toshiba-utils/toshiba-utils-2.0.1-r2.ebuild
+++ b/app-laptop/toshiba-utils/toshiba-utils-2.0.1-r2.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/app-laptop/toshiba-utils/toshiba-utils-2.0.1-r2.ebuild,v 1.1 2007/01/12 12:36:13 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/toshiba-utils/toshiba-utils-2.0.1-r2.ebuild,v 1.2 2007/04/16 14:53:54 phreak Exp $
inherit eutils autotools
@@ -54,7 +54,9 @@ src_install() {
pkg_postinst() {
ewarn "Dont forget Toshiba Laptop Support for your kernel."
ewarn "(under Processor Type and Features, CONFIG_TOSHIBA)"
- [[ ${ROOT} == / ]] && /sbin/modules-update || return 0
+ if [[ ${ROOT} == / ]] ; then
+ [[ -x /sbin/update-modules ]] && /sbin/update-modules || /sbin/modules-update
+ fi
}
pkg_config() {