summaryrefslogtreecommitdiffstats
path: root/meta-oe
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
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')
-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 100c449f2..3aab65bf5 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 () {
49 49
50do_install_append () { 50do_install_append () {
51 rm -fr ${D}/usr/share 51 rm -fr ${D}/usr/share
52 rmdir --ignore-fail-on-non-empty ${D}/usr
52} 53}
53 54
54pkg_postinst_${PN} () { 55pkg_postinst_${PN} () {