diff options
Diffstat (limited to 'meta-oe/recipes-graphics/ttf-fonts/ttf.inc')
-rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf.inc | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf.inc b/meta-oe/recipes-graphics/ttf-fonts/ttf.inc index d48f692fe7..70283be78d 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf.inc +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf.inc @@ -1,7 +1,5 @@ DESCRIPTION ?= "TrueType font package ${PN}" SECTION = "fonts" -# don't use RRECOMMENDS_${PN} here because sometimes each font is packaged to separate package and each one needs this dep to call update-fonts -RRECOMMENDS += "font-update-common" # we don't need a compiler nor a c library for these fonts INHIBIT_DEFAULT_DEPS = "1" @@ -11,16 +9,4 @@ do_install() { find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \; } -pkg_postinst_append() { - if [ -z "$D" ]; then - update-fonts - fi -} - -pkg_postrm_append() { - if [ -z "$D" ]; then - update-fonts - fi -} - -inherit allarch +inherit allarch update-fonts |