diff options
author | David Seifert <soap@gentoo.org> | 2019-12-11 13:32:00 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-12-11 13:32:00 +0100 |
commit | 398a42634f34afa1979d88ae1d8b38194e911c2d (patch) | |
tree | d6a45bdf7b35b71c192602a46e8d98d12a88cb02 /dev-lang/mercury-extras | |
parent | dev-ros/geometric_shapes: Remove old (diff) | |
download | gentoo-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-lang/mercury-extras')
-rw-r--r-- | dev-lang/mercury-extras/mercury-extras-14.01.1.ebuild | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/dev-lang/mercury-extras/mercury-extras-14.01.1.ebuild b/dev-lang/mercury-extras/mercury-extras-14.01.1.ebuild index cd9279191c5b..11bd6cc09b48 100644 --- a/dev-lang/mercury-extras/mercury-extras-14.01.1.ebuild +++ b/dev-lang/mercury-extras/mercury-extras-14.01.1.ebuild @@ -129,71 +129,71 @@ src_install() { cd "${S}" if use examples; then insinto /usr/share/doc/${PF}/samples/base64 - doins base64/*.m || die + doins base64/*.m insinto /usr/share/doc/${PF}/samples/complex_numbers - doins complex_numbers/samples/* || die + doins complex_numbers/samples/* insinto /usr/share/doc/${PF}/samples/dynamic_linking - doins dynamic_linking/hello.m || die + doins dynamic_linking/hello.m insinto /usr/share/doc/${PF}/samples/error - doins error/* || die + doins error/* insinto /usr/share/doc/${PF}/samples/fixed - doins fixed/*.m || die + doins fixed/*.m insinto /usr/share/doc/${PF}/samples/gator - doins -r gator/* || die + doins -r gator/* insinto /usr/share/doc/${PF}/samples/lex - doins lex/samples/* || die + doins lex/samples/* insinto /usr/share/doc/${PF}/samples/log4m - doins log4m/*.m || die + doins log4m/*.m insinto /usr/share/doc/${PF}/samples/monte - doins monte/*.m || die + doins monte/*.m insinto /usr/share/doc/${PF}/samples/moose - doins moose/samples/* || die + doins moose/samples/* insinto /usr/share/doc/${PF}/samples/net - doins net/*.m || die + doins net/*.m if use ncurses; then insinto /usr/share/doc/${PF}/samples/curs - doins curs/samples/* || die + doins curs/samples/* insinto /usr/share/doc/${PF}/samples/curses - doins curses/sample/* || die + doins curses/sample/* fi if use X; then insinto /usr/share/doc/${PF}/samples/graphics - doins graphics/easyx/samples/*.m || die + doins graphics/easyx/samples/*.m fi if use glut && use opengl; then insinto /usr/share/doc/${PF}/samples/graphics - doins graphics/samples/calc/* || die - doins graphics/samples/gears/* || die - doins graphics/samples/maze/* || die - doins graphics/samples/pent/* || die + doins graphics/samples/calc/* + doins graphics/samples/gears/* + doins graphics/samples/maze/* + doins graphics/samples/pent/* fi if use opengl && use tcl && use tk; then insinto /usr/share/doc/${PF}/samples/graphics - doins graphics/samples/pent/*.m || die + doins graphics/samples/pent/*.m fi if use ssl; then insinto /usr/share/doc/${PF}/samples/mopenssl - doins mopenssl/*.m || die + doins mopenssl/*.m fi ecvs_clean fi - dodoc README || die + dodoc README } |