1 |
commit: 6f6bfc2b4f44aca16ac86201f0df82bf3599cffe |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 7 15:54:37 2019 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 7 15:54:52 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f6bfc2b |
7 |
|
8 |
media-gfx/inkscape-1.0_beta1: improved extensions check |
9 |
|
10 |
Bug: https://bugs.gentoo.org/696794 |
11 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
12 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
13 |
|
14 |
media-gfx/inkscape/inkscape-1.0_beta1.ebuild | 4 +++- |
15 |
1 file changed, 3 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/media-gfx/inkscape/inkscape-1.0_beta1.ebuild b/media-gfx/inkscape/inkscape-1.0_beta1.ebuild |
18 |
index 578f4ed7dfc..3bed12295c6 100644 |
19 |
--- a/media-gfx/inkscape/inkscape-1.0_beta1.ebuild |
20 |
+++ b/media-gfx/inkscape/inkscape-1.0_beta1.ebuild |
21 |
@@ -150,7 +150,9 @@ src_install() { |
22 |
find "${ED}" -type f -name "*.la" -delete || die |
23 |
|
24 |
# No extensions are present in beta1 |
25 |
- if [[ -n $(find "${ED}"/usr/share/${PN}/extensions -mindepth 1) ]]; then |
26 |
+ local extdir="${ED}"/usr/share/${PN}/extensions |
27 |
+ |
28 |
+ if [[ -e "${extdir}" ]] && [[ -n $(find "${extdir}" -mindepth 1) ]]; then |
29 |
python_optimize "${ED}"/usr/share/${PN}/extensions |
30 |
fi |