1 |
commit: c5fdc895dd7bc9a04b1527b9bb2974551fd30ba2 |
2 |
Author: Jory A. Pratt <anarchy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 22 23:37:11 2013 +0000 |
4 |
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 22 23:37:11 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mozilla.git;a=commit;h=c5fdc895 |
7 |
|
8 |
Add mozcoreconf-2 to inherit for mozextension, fix typo |
9 |
|
10 |
--- |
11 |
eclass/mozextension.eclass | 4 ++-- |
12 |
1 files changed, 2 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/eclass/mozextension.eclass b/eclass/mozextension.eclass |
15 |
index c8c5502..08c1b53 100644 |
16 |
--- a/eclass/mozextension.eclass |
17 |
+++ b/eclass/mozextension.eclass |
18 |
@@ -8,7 +8,7 @@ |
19 |
# @BLURB: Install extensions for use in mozilla products. |
20 |
|
21 |
|
22 |
-inherit eutils |
23 |
+inherit eutils mozcoreconf-2 |
24 |
|
25 |
DEPEND="app-arch/unzip" |
26 |
|
27 |
@@ -53,7 +53,7 @@ xpi_install() { |
28 |
# determine id for extension |
29 |
emid="$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${x}"/install.rdf)" \ |
30 |
|| die "failed to determine extension id" |
31 |
- fi $(mozversion_is_new_enough) ; then |
32 |
+ if $(mozversion_is_new_enough) ; then |
33 |
insinto "${MOZILLA_FIVE_HOME}"/browser/extensions/${emid} |
34 |
else |
35 |
insinto "${MOZILLA_FIVE_HOME}"/extensions/${emid} |