diff options
author | Paul Varner <fuzzyray@gentoo.org> | 2012-12-11 08:17:36 +0000 |
---|---|---|
committer | Paul Varner <fuzzyray@gentoo.org> | 2012-12-11 08:17:36 +0000 |
commit | 3274d0e2f42ff1c790b6a314345b03499135a60d (patch) | |
tree | 0ddd4a28f5e86eeaa629c0660c99f86f0bee9721 | |
parent | Version bump, bug 446234. (diff) | |
download | gentoo-2-3274d0e2f42ff1c790b6a314345b03499135a60d.tar.gz gentoo-2-3274d0e2f42ff1c790b6a314345b03499135a60d.tar.bz2 gentoo-2-3274d0e2f42ff1c790b6a314345b03499135a60d.zip |
Add "|| die" to rm statements.
(Portage version: 2.1.11.36/cvs/Linux x86_64, signed Manifest commit with key 0x38AC371E)
-rw-r--r-- | app-portage/esearch/ChangeLog | 6 | ||||
-rw-r--r-- | app-portage/esearch/esearch-1.3.ebuild | 8 | ||||
-rw-r--r-- | app-portage/esearch/esearch-9999.ebuild | 8 |
3 files changed, 15 insertions, 7 deletions
diff --git a/app-portage/esearch/ChangeLog b/app-portage/esearch/ChangeLog index 90a009ea5b63..1940958c919f 100644 --- a/app-portage/esearch/ChangeLog +++ b/app-portage/esearch/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-portage/esearch # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v 1.100 2012/11/02 19:28:35 fuzzyray Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v 1.101 2012/12/11 08:17:36 fuzzyray Exp $ + + 11 Dec 2012; Paul Varner <fuzzyray@gentoo.org> esearch-1.3.ebuild, + esearch-9999.ebuild: + Add "|| die" to rm statements. *esearch-1.3 (02 Nov 2012) diff --git a/app-portage/esearch/esearch-1.3.ebuild b/app-portage/esearch/esearch-1.3.ebuild index a87d18f1a7ab..a602c5ea5f18 100644 --- a/app-portage/esearch/esearch-1.3.ebuild +++ b/app-portage/esearch/esearch-1.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-1.3.ebuild,v 1.1 2012/11/02 19:28:35 fuzzyray Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-1.3.ebuild,v 1.2 2012/12/11 08:17:36 fuzzyray Exp $ EAPI="3" SUPPORT_PYTHON_ABIS="1" @@ -50,10 +50,12 @@ src_install() { # Remove unused man pages according to the linguas flags if ! use linguas_fr ; then - rm -rf "${ED}"/usr/share/man/fr + rm -rf "${ED}"/usr/share/man/fr \ + || die "rm failed to remove ${ED}/usr/share/man/fr" fi if ! use linguas_it ; then - rm -rf "${ED}"/usr/share/man/it + rm -rf "${ED}"/usr/share/man/it \ + || die "rm failed to remove ${ED}/usr/share/man/it" fi } diff --git a/app-portage/esearch/esearch-9999.ebuild b/app-portage/esearch/esearch-9999.ebuild index 5ea29539e066..1634cdbdfda5 100644 --- a/app-portage/esearch/esearch-9999.ebuild +++ b/app-portage/esearch/esearch-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-9999.ebuild,v 1.4 2012/08/24 20:59:07 fuzzyray Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-9999.ebuild,v 1.5 2012/12/11 08:17:36 fuzzyray Exp $ EAPI="3" SUPPORT_PYTHON_ABIS="1" @@ -41,10 +41,12 @@ src_install() { # Remove unused man pages according to the linguas flags if ! use linguas_fr ; then - rm -rf "${ED}"/usr/share/man/fr + rm -rf "${ED}"/usr/share/man/fr \ + || die "rm failed to remove ${ED}/usr/share/man/fr" fi if ! use linguas_it ; then - rm -rf "${ED}"/usr/share/man/it + rm -rf "${ED}"/usr/share/man/it \ + || die "rm failed to remove ${ED}/usr/share/man/it" fi } |