summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-12-11 13:32:00 +0100
committerDavid Seifert <soap@gentoo.org>2019-12-11 13:32:00 +0100
commit398a42634f34afa1979d88ae1d8b38194e911c2d (patch)
treed6a45bdf7b35b71c192602a46e8d98d12a88cb02 /dev-java/dnsjava
parentdev-ros/geometric_shapes: Remove old (diff)
downloadgentoo-398a42634f34afa1979d88ae1d8b38194e911c2d.tar.gz
gentoo-398a42634f34afa1979d88ae1d8b38194e911c2d.tar.bz2
gentoo-398a42634f34afa1979d88ae1d8b38194e911c2d.zip
*/*: [QA] Remove redundant `|| die` guards
* Since all ebuilds in the tree are EAPI>=4, `|| die` on builtin commands is redundant and dead code. Closes: https://github.com/gentoo/gentoo/pull/13940 Reviewed-by: Ulrich Müller <ulm@gentoo.org> Reviewed-by: Michał Górny <mgorny@gentoo.org> Reviewed-by: Andreas K. Hüttel <dilfridge@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-java/dnsjava')
-rw-r--r--dev-java/dnsjava/dnsjava-2.1.6.ebuild2
-rw-r--r--dev-java/dnsjava/dnsjava-2.1.7.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/dev-java/dnsjava/dnsjava-2.1.6.ebuild b/dev-java/dnsjava/dnsjava-2.1.6.ebuild
index b40db04e30e0..c45f80d04cab 100644
--- a/dev-java/dnsjava/dnsjava-2.1.6.ebuild
+++ b/dev-java/dnsjava/dnsjava-2.1.6.ebuild
@@ -39,7 +39,7 @@ java_prepare() {
src_install() {
java-pkg_newjar "${P}.jar"
- dodoc README USAGE || die
+ dodoc README USAGE
use doc && java-pkg_dojavadoc doc
use source && java-pkg_dosrc org/
}
diff --git a/dev-java/dnsjava/dnsjava-2.1.7.ebuild b/dev-java/dnsjava/dnsjava-2.1.7.ebuild
index b2e98f812f19..a7d0260b9eba 100644
--- a/dev-java/dnsjava/dnsjava-2.1.7.ebuild
+++ b/dev-java/dnsjava/dnsjava-2.1.7.ebuild
@@ -39,7 +39,7 @@ java_prepare() {
src_install() {
java-pkg_newjar "${P}.jar"
- dodoc README USAGE || die
+ dodoc README USAGE
use doc && java-pkg_dojavadoc doc
use source && java-pkg_dosrc org/
}