git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8d84ae
)
ttf.inc : Unbreak ttf fonts
author
Kalev Lember
<kalev@smartlink.ee>
Fri, 26 Sep 2008 11:29:12 +0000
(11:29 +0000)
committer
Philip Balister
<philip@balister.org>
Fri, 26 Sep 2008 11:29:12 +0000
(11:29 +0000)
* Patch from bug #4584.
packages/ttf-fonts/ttf.inc
patch
|
blob
|
history
diff --git
a/packages/ttf-fonts/ttf.inc
b/packages/ttf-fonts/ttf.inc
index
98bd5b8
..
e2be378
100644
(file)
--- a/
packages/ttf-fonts/ttf.inc
+++ b/
packages/ttf-fonts/ttf.inc
@@
-4,12
+4,10
@@
RRECOMMENDS += "font-update-common"
do_install() {
install -d ${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
+ for f in *.ttf *.ttc
+ do
+ [ -f $f ] && install -m 0644 $f ${D}${datadir}/fonts/truetype/
+ done
}
pkg_postinst_append() {