diff options
author | Daniel Willmann <daniel@totalueberwachung.de> | 2008-09-26 18:28:16 +0000 |
---|---|---|
committer | Daniel Willmann <daniel@totalueberwachung.de> | 2008-09-26 18:28:16 +0000 |
commit | 7e42a21601eba9f804593f04a55a4f7efe448b3e (patch) | |
tree | 02306221ce92ba6135bd9b8003a3f4ff027ff103 | |
parent | 169805496d611cc67e5cdc5d8391da3ea493689a (diff) |
ttf-fonts: Fix do_install failing if no .ttc files exist in a font package
-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() { |