diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2012-07-15 22:45:12 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2012-07-15 22:45:12 +0000 |
commit | 27cf3b592e23aff77faaa419f731d5dc3784184e (patch) | |
tree | bd9bfe25f323c2b27492d8b6c58f5615bb2f3976 /eclass/webapp.eclass | |
parent | Version bump for latest upstream fixes. (diff) | |
download | historical-27cf3b592e23aff77faaa419f731d5dc3784184e.tar.gz historical-27cf3b592e23aff77faaa419f731d5dc3784184e.tar.bz2 historical-27cf3b592e23aff77faaa419f731d5dc3784184e.zip |
Don't use ebeep in EAPI 4 and newer since it was deprecated and removed in EAPI 4. bug #386555
Diffstat (limited to 'eclass/webapp.eclass')
-rw-r--r-- | eclass/webapp.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/webapp.eclass b/eclass/webapp.eclass index ff797009d345..52d8c09784a4 100644 --- a/eclass/webapp.eclass +++ b/eclass/webapp.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.70 2011/12/27 17:55:12 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.71 2012/07/15 22:45:12 cardoe Exp $ # @ECLASS: webapp.eclass # @MAINTAINER: @@ -413,7 +413,9 @@ webapp_pkg_setup() { ewarn "This ebuild may be overwriting important files." ewarn echo - ebeep 10 + if has "${EAPI:-0}" 0 1 2 3; then + ebeep 10 + fi elif [[ "$(echo ${my_output} | awk '{ print $1 }')" != "${PN}" ]]; then echo eerror "You already have ${my_output} installed in ${my_dir}" |