From 398a42634f34afa1979d88ae1d8b38194e911c2d Mon Sep 17 00:00:00 2001 From: David Seifert 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 Reviewed-by: Michał Górny Reviewed-by: Andreas K. Hüttel Signed-off-by: David Seifert --- games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'games-arcade/opentyrian') diff --git a/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild b/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild index fc82628bc521..d6898a9647ff 100644 --- a/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild +++ b/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild @@ -29,23 +29,23 @@ PATCHES=( ) src_compile() { - emake DATA_PATH="/usr/share/${PN}" || die "Compilation failed" + emake DATA_PATH="/usr/share/${PN}" } src_install() { - dobin opentyrian || die "Failed to install game binary" - dosym ../../usr/bin/opentyrian /usr/bin/tyrian || die "Failed to symlink" - dodoc CREDITS NEWS README || die "Failed to install documentation" + dobin opentyrian + dosym ../../usr/bin/opentyrian /usr/bin/tyrian + dodoc CREDITS NEWS README domenu linux/opentyrian.desktop || die "Failed to install desktop file" for i in linux/icons/*.png ; do local size=`echo ${i} | sed -e 's:.*-\([0-9]\+\).png:\1:'` insinto /usr/share/icons/hicolor/${size}x${size}/apps - newins ${i} opentyrian.png || die "Failed to install program icon" + newins ${i} opentyrian.png done insinto "/usr/share/${PN}" cd "${WORKDIR}/tyrian21" rm *.exe dpmi16bi.ovl loudness.awe || die "Failed to remove win32 binaries" - doins * || die "Failed to install game data" + doins * } pkg_postinst() { -- cgit v1.2.3-65-gdbad