mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-10 04:30:00 +00:00
zsh: Delete ${D}/usr if empty
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -49,6 +49,7 @@ do_configure () {
|
|||||||
|
|
||||||
do_install_append () {
|
do_install_append () {
|
||||||
rm -fr ${D}/usr/share
|
rm -fr ${D}/usr/share
|
||||||
|
rmdir --ignore-fail-on-non-empty ${D}/usr
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst_${PN} () {
|
pkg_postinst_${PN} () {
|
||||||
|
|||||||
Reference in New Issue
Block a user