From 398a42634f34afa1979d88ae1d8b38194e911c2d Mon Sep 17 00:00:00 2001 From: David Seifert <soap@gentoo.org> Date: Wed, 11 Dec 2019 13:32:00 +0100 Subject: */*: [QA] Remove redundant `|| die` guards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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> --- dev-libs/tntnet/tntnet-2.2.1-r1.ebuild | 6 +++--- dev-libs/tntnet/tntnet-2.2.1.ebuild | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'dev-libs/tntnet') diff --git a/dev-libs/tntnet/tntnet-2.2.1-r1.ebuild b/dev-libs/tntnet/tntnet-2.2.1-r1.ebuild index cc25ab03fdfb..0b0c372cdd83 100644 --- a/dev-libs/tntnet/tntnet-2.2.1-r1.ebuild +++ b/dev-libs/tntnet/tntnet-2.2.1-r1.ebuild @@ -66,11 +66,11 @@ src_configure() { } src_install() { - emake DESTDIR="${D}" install || die + emake DESTDIR="${D}" install dodoc AUTHORS ChangeLog README TODO if use doc; then - dodoc doc/*.pdf || die + dodoc doc/*.pdf fi if use examples; then @@ -80,7 +80,7 @@ src_install() { cd "${S}" insinto /usr/share/doc/${PF}/examples - doins -r sdk/demos/* || die + doins -r sdk/demos/* fi if use server; then diff --git a/dev-libs/tntnet/tntnet-2.2.1.ebuild b/dev-libs/tntnet/tntnet-2.2.1.ebuild index bd46d16526d7..63a7484d2e88 100644 --- a/dev-libs/tntnet/tntnet-2.2.1.ebuild +++ b/dev-libs/tntnet/tntnet-2.2.1.ebuild @@ -63,11 +63,11 @@ src_configure() { } src_install() { - emake DESTDIR="${D}" install || die + emake DESTDIR="${D}" install dodoc AUTHORS ChangeLog README TODO if use doc; then - dodoc doc/*.pdf || die + dodoc doc/*.pdf fi if use examples; then @@ -77,7 +77,7 @@ src_install() { cd "${S}" insinto /usr/share/doc/${PF}/examples - doins -r sdk/demos/* || die + doins -r sdk/demos/* fi if use server; then -- cgit v1.2.3-65-gdbad