diff options
author | Sam James <sam@gentoo.org> | 2021-12-09 05:00:15 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-12-09 05:00:15 +0000 |
commit | 760deadbbcf094a896e85827eaf3089b2cc0f2cc (patch) | |
tree | 9f166a5a21a3c40067a75a9456f9fae18fe5447a /eclass-writing | |
parent | ebuild-writing/functions/src_unpack/rpm-sources: use EAPI 8 in example (diff) | |
download | devmanual-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.xml | 2 |
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}" ]] && die "usage: domacosapp <file> [new file]" if use ppc-macos ; then insinto /Applications - newins "$1" "${2:-${1}}" || die "Failed to install ${1}" + newins "$1" "${2:-${1}}" fi } </codesample> |