ttf-liberation-sans-narrow: Do not install normal liberation fonts

They are provided by ttf-liberation recipe, this avoids install time
conflicts

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2020-08-30 16:31:35 -07:00
parent e96331850c
commit 6336d2b700
@@ -24,6 +24,8 @@ do_install_append () {
install -m 0644 LiberationSansNarrow*.ttf ${D}${datadir}/fonts/TTF/
install -D -m 0644 ${WORKDIR}/30-0-liberation-sans-narrow.conf ${D}${sysconfdir}/conf.avail/30-${PN}-sans.conf
install -D -m 0644 ${S}/License.txt ${D}${datadir}/licenses/${PN}/LICENSE
# normal liberation fonts come from ttf-liberation recipe so delete here
rm -rf ${D}${datadir}/fonts/truetype
}
PACKAGES = "${PN}"