summaryrefslogtreecommitdiff
path: root/packages/ttf-fonts/ttf.inc
diff options
context:
space:
mode:
authorDaniel Willmann <daniel@totalueberwachung.de>2008-09-26 18:28:16 +0000
committerDaniel Willmann <daniel@totalueberwachung.de>2008-09-26 18:28:16 +0000
commit7e42a21601eba9f804593f04a55a4f7efe448b3e (patch)
tree02306221ce92ba6135bd9b8003a3f4ff027ff103 /packages/ttf-fonts/ttf.inc
parent169805496d611cc67e5cdc5d8391da3ea493689a (diff)
ttf-fonts: Fix do_install failing if no .ttc files exist in a font package
Diffstat (limited to 'packages/ttf-fonts/ttf.inc')
-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() {