summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/avahi
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/avahi')
-rw-r--r--meta/recipes-connectivity/avahi/avahi-ui_0.7.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/avahi/avahi-ui_0.7.bb b/meta/recipes-connectivity/avahi/avahi-ui_0.7.bb
index a77653bf55..1c6e46aaba 100644
--- a/meta/recipes-connectivity/avahi/avahi-ui_0.7.bb
+++ b/meta/recipes-connectivity/avahi/avahi-ui_0.7.bb
@@ -20,7 +20,13 @@ FILES_avahi-discover = "${datadir}/applications/avahi-discover.desktop \
20 20
21do_install_append () { 21do_install_append () {
22 rm ${D}${sysconfdir} -rf 22 rm ${D}${sysconfdir} -rf
23 rm ${D}${base_libdir} -rf 23 if ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','true','false',d)}; then
24 if [ "${nonarch_base_libdir}" != "${base_libdir}" ];then
25 rm ${D}${nonarch_base_libdir} -rf
26 fi
27 else
28 rm ${D}${base_libdir} -rf
29 fi
24 rm ${D}${systemd_unitdir} -rf 30 rm ${D}${systemd_unitdir} -rf
25 # The ${systemd_unitdir} is /lib/systemd, so we need rmdir /lib, 31 # The ${systemd_unitdir} is /lib/systemd, so we need rmdir /lib,
26 # but not ${base_libdir} here. And the /lib may not exist 32 # but not ${base_libdir} here. And the /lib may not exist