diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-04-18 21:33:08 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-04-18 21:33:08 +0000 |
commit | 5e41d1b32f6d229ac14c60825881ad2c77a52cdf (patch) | |
tree | 32e437b12c9d9417f8625a49444c48aec7f45482 /eclass | |
parent | Adding ~amd64 keyword (diff) | |
download | gentoo-2-5e41d1b32f6d229ac14c60825881ad2c77a52cdf.tar.gz gentoo-2-5e41d1b32f6d229ac14c60825881ad2c77a52cdf.tar.bz2 gentoo-2-5e41d1b32f6d229ac14c60825881ad2c77a52cdf.zip |
Move elog information from prepare to postinst and also switch from elog to einfo for less verbosity. Thanks for patch to reavertm.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kde4-base.eclass | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass index 7fd77c010a59..32910f9d124e 100644 --- a/eclass/kde4-base.eclass +++ b/eclass/kde4-base.eclass @@ -1,6 +1,6 @@ # Copyright 2007-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.35 2009/04/15 11:09:50 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.36 2009/04/18 21:33:08 scarabeus Exp $ # @ECLASS: kde4-base.eclass # @MAINTAINER: @@ -397,14 +397,6 @@ kde4-base_pkg_setup() { # Not needed anymore unset _kdedir - - if [[ ${BUILD_TYPE} = live ]] && [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]]; then - echo - elog "WARNING! This is an experimental live ebuild of ${KMNAME:-${PN}}" - elog "Use it at your own risk." - elog "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!" - echo - fi } # @FUNCTION: kde4-base_src_unpack @@ -571,6 +563,14 @@ kde4-base_pkg_postinst() { debug-print-function ${FUNCNAME} "$@" buildsycoca + + if [[ ${BUILD_TYPE} = live ]] && [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]]; then + echo + einfo "WARNING! This is an experimental live ebuild of ${KMNAME:-${PN}}" + einfo "Use it at your own risk." + einfo "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!" + echo + fi } # @FUNCTION: kde4-base_pkg_postrm |