diff options
author | Alin Năstac <mrness@gentoo.org> | 2007-04-16 11:52:50 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2007-04-16 11:52:50 +0000 |
commit | 8ed38efbaeee4413e19c822437c6780af0758189 (patch) | |
tree | 76180629c36eff465d1ad48fbec90e3882afd8c0 /net-dialup/ltmodem | |
parent | Version bump (diff) | |
download | gentoo-2-8ed38efbaeee4413e19c822437c6780af0758189.tar.gz gentoo-2-8ed38efbaeee4413e19c822437c6780af0758189.tar.bz2 gentoo-2-8ed38efbaeee4413e19c822437c6780af0758189.zip |
Use update-modules
(Portage version: 2.1.2.3)
Diffstat (limited to 'net-dialup/ltmodem')
-rw-r--r-- | net-dialup/ltmodem/ChangeLog | 6 | ||||
-rw-r--r-- | net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/net-dialup/ltmodem/ChangeLog b/net-dialup/ltmodem/ChangeLog index 94b380c33c01..ca9b997a1875 100644 --- a/net-dialup/ltmodem/ChangeLog +++ b/net-dialup/ltmodem/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dialup/ltmodem # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.32 2007/03/10 14:14:48 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.33 2007/04/16 11:52:50 mrness Exp $ + + 16 Apr 2007; Alin Năstac <mrness@gentoo.org> + ltmodem-8.31_alpha10-r3.ebuild: + Use update-modules. 10 Mar 2007; Alin Năstac <mrness@gentoo.org> ltmodem-8.31_alpha10-r3.ebuild: diff --git a/net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild b/net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild index 085d95c14502..67fe5e3568d6 100644 --- a/net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild +++ b/net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.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-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild,v 1.4 2007/03/10 14:14:48 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild,v 1.5 2007/04/16 11:52:50 mrness Exp $ inherit linux-mod eutils @@ -106,12 +106,15 @@ pkg_preinst() { pkg_postinst() { linux-mod_pkg_postinst + if [ "$ROOT" = "/" ]; then + [ -x /sbin/update-modules ] && /sbin/update-modules || /sbin/modules-update + fi + # Make some devices if we aren't using devfs if [ -e "${ROOT}/dev/.devfsd" ]; then ebegin "Restarting devfsd to reread devfs rules" killall -HUP devfsd eend $? - einfo "modules-update to complete configuration." einfo "Use /dev/tts/LT0 or /dev/ttyLT0 to access modem" elif [ -e "${ROOT}/dev/.udev" ]; then |