aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-shells
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-08-27 22:57:27 -0700
committerKhem Raj <raj.khem@gmail.com>2018-08-28 09:36:28 -0700
commit901af82e7d4be4777bbb2b8fba04f2f41f454c09 (patch)
treefe6c776b32be90f8eb624d13dbe45437b8f8297d /meta-oe/recipes-shells
parent0b18276ac9155daf1e9075f2341078a9cc33a37d (diff)
downloadmeta-openembedded-901af82e7d4be4777bbb2b8fba04f2f41f454c09.tar.gz
zsh: Delete ${D}/usr if empty
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-shells')
-rw-r--r--meta-oe/recipes-shells/zsh/zsh_5.4.2.bb1
1 files changed, 1 insertions, 0 deletions
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 100c449f2b..3aab65bf5b 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} () {