summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-09-26 18:42:26 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-09-26 18:42:26 +0000
commit755318a027d0e2bc8c3fa2a1de3dae6b4c8c0ee8 (patch)
tree09b5bcb3e761c00516bdeb9348e9dc0847608415
parentc7c678114ca9242c676afed4b9ec51e3ae6bbf72 (diff)
parent7e42a21601eba9f804593f04a55a4f7efe448b3e (diff)
merge of '9861e003b5708862835bc85f2778f44088811aa4'
and 'ee41789a9c3e50ef34fdcef75b3487b4f3508184'
-rw-r--r--packages/ttf-fonts/ttf.inc5
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() {