diff options
Diffstat (limited to 'packages/ttf-fonts')
-rw-r--r-- | packages/ttf-fonts/ttf.inc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/ttf-fonts/ttf.inc b/packages/ttf-fonts/ttf.inc index e2be378194..78133f9eab 100644 --- a/packages/ttf-fonts/ttf.inc +++ b/packages/ttf-fonts/ttf.inc @@ -4,10 +4,7 @@ RRECOMMENDS += "font-update-common" do_install() { install -d ${D}${datadir}/fonts/truetype/ - for f in *.ttf *.ttc - do - [ -f $f ] && install -m 0644 $f ${D}${datadir}/fonts/truetype/ - done + find ./ -name "*.ttf" -or -name "*.ttc" -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \; } pkg_postinst_append() { |