summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-02-15 22:11:10 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-02-16 00:07:32 +0100
commitb02c18ecfa034242d5a90104f4e7c7fef66ff72a (patch)
tree8d27b8fbf397b0b69011bec8ad85b6c2daa6197b /media-gfx/darktable
parentmedia-gfx/darktable: Switch from gnome2-utils to xdg, EAPI-7 bump (diff)
downloadgentoo-b02c18ecfa034242d5a90104f4e7c7fef66ff72a.tar.gz
gentoo-b02c18ecfa034242d5a90104f4e7c7fef66ff72a.tar.bz2
gentoo-b02c18ecfa034242d5a90104f4e7c7fef66ff72a.zip
media-gfx/darktable: Add missing || die
Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx/darktable')
-rw-r--r--media-gfx/darktable/darktable-2.6.0.ebuild4
-rw-r--r--media-gfx/darktable/darktable-9999.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/media-gfx/darktable/darktable-2.6.0.ebuild b/media-gfx/darktable/darktable-2.6.0.ebuild
index 15acacacaad5..741a54b7187c 100644
--- a/media-gfx/darktable/darktable-2.6.0.ebuild
+++ b/media-gfx/darktable/darktable-2.6.0.ebuild
@@ -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
diff --git a/media-gfx/darktable/darktable-9999.ebuild b/media-gfx/darktable/darktable-9999.ebuild
index 60e7af7a7178..dce04128d375 100644
--- a/media-gfx/darktable/darktable-9999.ebuild
+++ b/media-gfx/darktable/darktable-9999.ebuild
@@ -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