Commit 5bcb9c39 authored by Florent Revest's avatar Florent Revest

ttf-opensans: install font to the right directory *AGAIN*, I must be have been...

ttf-opensans: install font to the right directory *AGAIN*, I must be have been drunk every time I tried to modify this recipe...
parent 4da2574a
...@@ -16,8 +16,8 @@ S = "${WORKDIR}/git" ...@@ -16,8 +16,8 @@ S = "${WORKDIR}/git"
FONT_PACKAGES = "ttf-opensans" FONT_PACKAGES = "ttf-opensans"
do_install() { do_install() {
install -d ${D}${datadir}/fonts/truetype/ install -d ${D}/usr/share/fonts/
find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}/usr/lib/fonts/ \; find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}/usr/share/fonts/ \;
} }
FILES_${PN} += "/usr/" FILES_${PN} += "/usr/share/fonts/"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment