media-gfx/darktable: Add missing || die

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2019-02-15 22:11:10 +01:00
parent e7dfedbdd0
commit b02c18ecfa
2 changed files with 6 additions and 2 deletions

View File

@@ -115,7 +115,9 @@ src_install() {
use doc && dodoc "${DISTDIR}"/${PN}-usermanual-${DOC_PV}.pdf
for lang in ${LANGS} ; do
use l10n_${lang} || rm -r "${ED}"/usr/share/locale/${lang/-/_}
if ! use l10n_${lang}; then
rm -r "${ED}"/usr/share/locale/${lang/-/_} || die
fi
done
if use pax_kernel && use opencl ; then

View File

@@ -107,7 +107,9 @@ src_install() {
use doc && dodoc "${DISTDIR}"/${PN}-usermanual-${DOC_PV}.pdf
for lang in ${LANGS} ; do
use l10n_${lang} || rm -r "${ED}"/usr/share/locale/${lang/-/_}
if ! use l10n_${lang}; then
rm -r "${ED}"/usr/share/locale/${lang/-/_} || die
fi
done
if use pax_kernel && use opencl ; then