summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2019-11-07 16:54:37 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2019-11-07 16:54:52 +0100
commit6f6bfc2b4f44aca16ac86201f0df82bf3599cffe (patch)
treefd8e1a8759a8db1e940fb0e6f6b6cd86e448ce22 /media-gfx/inkscape
parentdev-util/ccache: arm64 stable (bug #698302) (diff)
downloadgentoo-6f6bfc2b4f44aca16ac86201f0df82bf3599cffe.tar.gz
gentoo-6f6bfc2b4f44aca16ac86201f0df82bf3599cffe.tar.bz2
gentoo-6f6bfc2b4f44aca16ac86201f0df82bf3599cffe.zip
media-gfx/inkscape-1.0_beta1: improved extensions check
Bug: https://bugs.gentoo.org/696794 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-gfx/inkscape')
-rw-r--r--media-gfx/inkscape/inkscape-1.0_beta1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/media-gfx/inkscape/inkscape-1.0_beta1.ebuild b/media-gfx/inkscape/inkscape-1.0_beta1.ebuild
index 578f4ed7dfcd..3bed12295c66 100644
--- a/media-gfx/inkscape/inkscape-1.0_beta1.ebuild
+++ b/media-gfx/inkscape/inkscape-1.0_beta1.ebuild
@@ -150,7 +150,9 @@ src_install() {
find "${ED}" -type f -name "*.la" -delete || die
# No extensions are present in beta1
- if [[ -n $(find "${ED}"/usr/share/${PN}/extensions -mindepth 1) ]]; then
+ local extdir="${ED}"/usr/share/${PN}/extensions
+
+ if [[ -e "${extdir}" ]] && [[ -n $(find "${extdir}" -mindepth 1) ]]; then
python_optimize "${ED}"/usr/share/${PN}/extensions
fi