Commit cd03ec18 authored by Florent Revest's avatar Florent Revest

ttf-opensans: install in both lib and share since it seems to change often

parent 3222cc9f
...@@ -16,8 +16,12 @@ S = "${WORKDIR}/git" ...@@ -16,8 +16,12 @@ S = "${WORKDIR}/git"
FONT_PACKAGES = "ttf-opensans" FONT_PACKAGES = "ttf-opensans"
do_install() { do_install() {
# Different versions of OE seems to require different places for fonts so we install in both share and lib...
install -d ${D}/usr/share/fonts/ install -d ${D}/usr/share/fonts/
find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}/usr/share/fonts/ \; find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}/usr/share/fonts/ \;
install -d ${D}/usr/lib/fonts/
find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}/usr/lib/fonts/ \;
} }
FILES_${PN} += "/usr/share/fonts/" FILES_${PN} += "/usr/share/fonts/ /usr/lib/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