zsh: Delete ${D}/usr if empty

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2018-08-27 22:57:27 -07:00
parent 0b18276ac9
commit 901af82e7d

View File

@ -49,6 +49,7 @@ do_configure () {
do_install_append () {
rm -fr ${D}/usr/share
rmdir --ignore-fail-on-non-empty ${D}/usr
}
pkg_postinst_${PN} () {