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 /sci-biology
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 'sci-biology')
-rw-r--r--sci-biology/fasta/fasta-36.3.5e.ebuild2
-rw-r--r--sci-biology/mira/mira-4.0.2.ebuild2
-rw-r--r--sci-biology/ncbi-tools/ncbi-tools-2.2.26-r2.ebuild2
-rw-r--r--sci-biology/phylip/phylip-3.696-r1.ebuild2
-rw-r--r--sci-biology/phylip/phylip-3.696-r2.ebuild2
-rw-r--r--sci-biology/repeatmasker/repeatmasker-4.0.1.ebuild8
6 files changed, 9 insertions, 9 deletions
diff --git a/sci-biology/fasta/fasta-36.3.5e.ebuild b/sci-biology/fasta/fasta-36.3.5e.ebuild
index 2f4e3fc06bd5..392ee4c76410 100644
--- a/sci-biology/fasta/fasta-36.3.5e.ebuild
+++ b/sci-biology/fasta/fasta-36.3.5e.ebuild
@@ -67,7 +67,7 @@ src_install() {
pushd bin > /dev/null || die
for bin in *36; do
- dosym ${bin} /usr/bin/${bin%36} || die
+ dosym ${bin} /usr/bin/${bin%36}
done
popd
diff --git a/sci-biology/mira/mira-4.0.2.ebuild b/sci-biology/mira/mira-4.0.2.ebuild
index fd95fbfb2a78..f5ac6cfe70f5 100644
--- a/sci-biology/mira/mira-4.0.2.ebuild
+++ b/sci-biology/mira/mira-4.0.2.ebuild
@@ -81,7 +81,7 @@ src_configure() {
#src_compile() {
# base_src_compile
# # TODO: resolve docbook incompatibility for building docs
-# if use doc; then emake -C doc clean docs || die; fi
+# use doc && emake -C doc clean docs
#}
src_install() {
diff --git a/sci-biology/ncbi-tools/ncbi-tools-2.2.26-r2.ebuild b/sci-biology/ncbi-tools/ncbi-tools-2.2.26-r2.ebuild
index 1d3b5784a3a1..2c59e13b5a97 100644
--- a/sci-biology/ncbi-tools/ncbi-tools-2.2.26-r2.ebuild
+++ b/sci-biology/ncbi-tools/ncbi-tools-2.2.26-r2.ebuild
@@ -114,7 +114,7 @@ src_install() {
dobin "${S}"/bin/*
for i in ${EXTRA_VIB}; do
- dobin "${S}"/build/${i} || die "Failed to install binaries."
+ dobin "${S}"/build/${i}
done
use static-libs && dolib.a "${S}"/lib/*.a
mkdir -p "${ED}"/usr/include/ncbi
diff --git a/sci-biology/phylip/phylip-3.696-r1.ebuild b/sci-biology/phylip/phylip-3.696-r1.ebuild
index 3943d3637946..85150acaf9cb 100644
--- a/sci-biology/phylip/phylip-3.696-r1.ebuild
+++ b/sci-biology/phylip/phylip-3.696-r1.ebuild
@@ -42,7 +42,7 @@ src_install() {
mv exe/font* fonts || die "Font move failed."
mv exe/factor exe/factor-${PN} || die "Renaming factor failed."
- dolib.so exe/*so && rm exe/*so || die
+ dolib.so exe/*so && rm exe/*so
dobin exe/*
dodoc "${FILESDIR}"/README.Gentoo
diff --git a/sci-biology/phylip/phylip-3.696-r2.ebuild b/sci-biology/phylip/phylip-3.696-r2.ebuild
index b3488d65421c..66391e0e662d 100644
--- a/sci-biology/phylip/phylip-3.696-r2.ebuild
+++ b/sci-biology/phylip/phylip-3.696-r2.ebuild
@@ -43,7 +43,7 @@ src_install() {
mv exe/font* fonts || die "Font move failed."
mv exe/factor exe/factor-${PN} || die "Renaming factor failed."
- dolib.so exe/*so && rm exe/*so || die
+ dolib.so exe/*so && rm exe/*so
dobin exe/*
dodoc "${FILESDIR}"/README.Gentoo
diff --git a/sci-biology/repeatmasker/repeatmasker-4.0.1.ebuild b/sci-biology/repeatmasker/repeatmasker-4.0.1.ebuild
index 41c28eb17f4e..bf6097df1f68 100644
--- a/sci-biology/repeatmasker/repeatmasker-4.0.1.ebuild
+++ b/sci-biology/repeatmasker/repeatmasker-4.0.1.ebuild
@@ -42,16 +42,16 @@ Y
src_install() {
exeinto /usr/share/${PN}
for i in DateRepeats ProcessRepeats RepeatMasker DupMasker RepeatProteinMask; do
- doexe $i || die
- dosym /usr/share/${PN}/$i /usr/bin/$i || die
+ doexe $i
+ dosym /usr/share/${PN}/$i /usr/bin/$i
done
dodir /usr/share/${PN}/lib
insinto /usr/share/${PN}/lib
- doins "${S}"/*.pm || die
+ doins "${S}"/*.pm
insinto /usr/share/${PN}
- doins -r util Matrices Libraries taxonomy.dat *.help || die
+ doins -r util Matrices Libraries taxonomy.dat *.help
keepdir /usr/share/${PN}/Libraries
dodoc README INSTALL *.help