summaryrefslogtreecommitdiff
path: root/packages/ttf-fonts/ttf.inc
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-09-24 08:57:21 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-09-24 08:57:21 +0000
commite0a250c30d978c85e8f6e63cb3940061d906730d (patch)
treeeac86624642e03c81bba47cd5a4c3c968974de29 /packages/ttf-fonts/ttf.inc
parent17d2b8a8282c911f3d394fac1d042912c1f7f0ee (diff)
add chinese font ttf-arphic-uming
Diffstat (limited to 'packages/ttf-fonts/ttf.inc')
-rw-r--r--packages/ttf-fonts/ttf.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/ttf-fonts/ttf.inc b/packages/ttf-fonts/ttf.inc
index 00363c565f..98bd5b820d 100644
--- a/packages/ttf-fonts/ttf.inc
+++ b/packages/ttf-fonts/ttf.inc
@@ -4,7 +4,12 @@ RRECOMMENDS += "font-update-common"
do_install() {
install -d ${D}${datadir}/fonts/truetype/
- install -m 0644 ${S}/*.ttf ${D}${datadir}/fonts/truetype/
+ if [ -e *.ttf ]; then
+ install -m 0644 *.ttf ${D}${datadir}/fonts/truetype/
+ fi
+ if [ -e *.ttc ]; then
+ install -m 0644 *.ttc ${D}${datadir}/fonts/truetype/
+ fi
}
pkg_postinst_append() {