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 | cab6ee9608b9f8ad90a5c1d590e81eeafc5c9150 (patch) | |
tree | ac237ab24dc19ef2f6238d42581500d4b9dc945c /eclass/webapp.eclass | |
parent | Version bump for latest upstream fixes. (diff) | |
download | gentoo-2-cab6ee9608b9f8ad90a5c1d590e81eeafc5c9150.tar.gz gentoo-2-cab6ee9608b9f8ad90a5c1d590e81eeafc5c9150.tar.bz2 gentoo-2-cab6ee9608b9f8ad90a5c1d590e81eeafc5c9150.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}" |