[oe-commits] [meta-openembedded] 15/28: zsh: Delete ${D}/usr if empty

git at git.openembedded.org git at git.openembedded.org
Wed Aug 29 01:33:10 UTC 2018


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 901af82e7d4be4777bbb2b8fba04f2f41f454c09
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Mon Aug 27 22:57:27 2018 -0700

    zsh: Delete ${D}/usr if empty
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-shells/zsh/zsh_5.4.2.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-shells/zsh/zsh_5.4.2.bb b/meta-oe/recipes-shells/zsh/zsh_5.4.2.bb
index 100c449..3aab65b 100644
--- a/meta-oe/recipes-shells/zsh/zsh_5.4.2.bb
+++ b/meta-oe/recipes-shells/zsh/zsh_5.4.2.bb
@@ -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} () {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list