diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-08-27 22:57:27 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-28 09:36:28 -0700 |
commit | 901af82e7d4be4777bbb2b8fba04f2f41f454c09 (patch) | |
tree | fe6c776b32be90f8eb624d13dbe45437b8f8297d /meta-oe/recipes-shells | |
parent | 0b18276ac9155daf1e9075f2341078a9cc33a37d (diff) | |
download | meta-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.bb | 1 |
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 | ||
50 | do_install_append () { | 50 | do_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 | ||
54 | pkg_postinst_${PN} () { | 55 | pkg_postinst_${PN} () { |