aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-09 05:00:15 +0000
committerSam James <sam@gentoo.org>2021-12-09 05:00:15 +0000
commit760deadbbcf094a896e85827eaf3089b2cc0f2cc (patch)
tree9f166a5a21a3c40067a75a9456f9fae18fe5447a /eclass-writing
parentebuild-writing/functions/src_unpack/rpm-sources: use EAPI 8 in example (diff)
downloaddevmanual-760deadbbcf094a896e85827eaf3089b2cc0f2cc.tar.gz
devmanual-760deadbbcf094a896e85827eaf3089b2cc0f2cc.tar.bz2
devmanual-760deadbbcf094a896e85827eaf3089b2cc0f2cc.zip
eclass-writing: drop unnecessary '|| die'
newins is already fatal on errors. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass-writing')
-rw-r--r--eclass-writing/text.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass-writing/text.xml b/eclass-writing/text.xml
index 40ec0be..2f316a3 100644
--- a/eclass-writing/text.xml
+++ b/eclass-writing/text.xml
@@ -605,7 +605,7 @@ domacosapp() {
[[ -z "${1}" ]] &amp;&amp; die "usage: domacosapp &lt;file&gt; [new file]"
if use ppc-macos ; then
insinto /Applications
- newins "$1" "${2:-${1}}" || die "Failed to install ${1}"
+ newins "$1" "${2:-${1}}"
fi
}
</codesample>