diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-28 03:05:59 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-28 03:05:59 +0000 |
commit | 66fd9881d5e4c02a4a36a0f8af4e5f7cbba6e289 (patch) | |
tree | 559b160249278aa93f5205692de105375e8d80ee /eclass/kmod.eclass | |
parent | remove pointless S definition and cuddle function brackets (diff) | |
download | gentoo-2-66fd9881d5e4c02a4a36a0f8af4e5f7cbba6e289.tar.gz gentoo-2-66fd9881d5e4c02a4a36a0f8af4e5f7cbba6e289.tar.bz2 gentoo-2-66fd9881d5e4c02a4a36a0f8af4e5f7cbba6e289.zip |
cuddle function brackets
Diffstat (limited to 'eclass/kmod.eclass')
-rw-r--r-- | eclass/kmod.eclass | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/eclass/kmod.eclass b/eclass/kmod.eclass index b877a585b588..e3f8eaeac697 100644 --- a/eclass/kmod.eclass +++ b/eclass/kmod.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kmod.eclass,v 1.18 2006/01/12 13:41:52 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kmod.eclass,v 1.19 2006/02/28 03:05:59 vapier Exp $ # !!!!!!!!!! # @@ -234,8 +234,7 @@ kmod_do_buildpatches() fi } -kmod_src_unpack () -{ +kmod_src_unpack () { check_KV kmod_universal_unpack } @@ -267,8 +266,7 @@ kmod_universal_unpack() fi } -kmod_src_compile () -{ +kmod_src_compile () { if is_kernel 2 5 || is_kernel 2 6 then # If we're on 2.5/2.6 and not koutputing, we need to make @@ -283,8 +281,7 @@ kmod_src_compile () emake KERNEL_DIR=${KERNEL_DIR} || die } -kmod_pkg_postinst() -{ +kmod_pkg_postinst() { einfo "Checking kernel module dependancies" test -r "${ROOT}/${KV_OUTPUT}/System.map" && \ depmod -ae -F "${ROOT}/${KV_OUTPUT}/System.map" -b "${ROOT}" -r ${KV} |