mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-31 01:10:08 +00:00
ttf-droid: Delete from staging install area instead of sources
* This leaves the sourcedir unmodified * Add -f option to rm to not fail if file is not there Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -12,8 +12,12 @@ SRC_URI = "git://github.com/android/platform_frameworks_base.git;branch=master"
|
|||||||
|
|
||||||
S = "${WORKDIR}/git/data/fonts"
|
S = "${WORKDIR}/git/data/fonts"
|
||||||
|
|
||||||
do_install_prepend() {
|
do_install_append() {
|
||||||
rm ${S}/Ahem.ttf MTLc3m.ttf DroidSansArabic.ttf DroidSansThai.ttf Clockopia.ttf MTLmr3m.ttf DroidSansHebrew.ttf DroidSansFallbackLegacy.ttf # we're not packaging it
|
for f in Ahem.ttf MTLc3m.ttf DroidSansArabic.ttf DroidSansThai.ttf \
|
||||||
|
Clockopia.ttf MTLmr3m.ttf DroidSansHebrew.ttf \
|
||||||
|
DroidSansFallbackLegacy.ttf; do
|
||||||
|
rm -f ${D}${datadir}/fonts/truetype/$f
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
PACKAGES = "ttf-droid-sans ttf-droid-sans-mono \
|
PACKAGES = "ttf-droid-sans ttf-droid-sans-mono \
|
||||||
|
|||||||
Reference in New Issue
Block a user