Skip to content

Commit

Permalink
media-gfx/darktable: Add missing || die
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Feb 15, 2019
1 parent e7dfedb commit b02c18e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion media-gfx/darktable/darktable-2.6.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion media-gfx/darktable/darktable-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b02c18e

Please sign in to comment.