commit: 760deadbbcf094a896e85827eaf3089b2cc0f2cc Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Dec 9 05:00:15 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Dec 9 05:00:15 2021 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=760deadb
eclass-writing: drop unnecessary '|| die' newins is already fatal on errors. Signed-off-by: Sam James <sam <AT> gentoo.org> eclass-writing/text.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>