summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/ttf-fonts/ttf.inc
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2012-05-09 20:06:53 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-05-10 20:20:18 +0200
commit0e2593e2e768d26f56652b1582b304acc5b5195a (patch)
treec550b8afd40ec70edbf9655d3683740cbc180b30 /meta-oe/recipes-graphics/ttf-fonts/ttf.inc
parent54efc1ed95ac9e307d469b792afbf3d8b2ca6f5c (diff)
downloadmeta-openembedded-0e2593e2e768d26f56652b1582b304acc5b5195a.tar.gz
ttf-fonts: call update-fonts only on target, not during do_rootfs
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-graphics/ttf-fonts/ttf.inc')
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf.inc b/meta-oe/recipes-graphics/ttf-fonts/ttf.inc
index bba94bd4d..d48f692fe 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf.inc
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf.inc
@@ -12,11 +12,15 @@ do_install() {
12} 12}
13 13
14pkg_postinst_append() { 14pkg_postinst_append() {
15 update-fonts 15 if [ -z "$D" ]; then
16 update-fonts
17 fi
16} 18}
17 19
18pkg_postrm_append() { 20pkg_postrm_append() {
19 update-fonts 21 if [ -z "$D" ]; then
22 update-fonts
23 fi
20} 24}
21 25
22inherit allarch 26inherit allarch