aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-connectivity/samba/samba_4.4.5.bb')
-rw-r--r--meta-networking/recipes-connectivity/samba/samba_4.4.5.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
index d807351af5..c564f73bea 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
@@ -142,7 +142,9 @@ do_install_append() {
done
# fix file-rdeps qa warning
- sed -i 's:\(#!/bin/\)bash:\1sh:' ${D}${bindir}/onnode
+ if [ -f ${D}${bindir}/onnode ]; then
+ sed -i 's:\(#!/bin/\)bash:\1sh:' ${D}${bindir}/onnode
+ fi
rm -rf ${D}/run ${D}${localstatedir}/run ${D}${localstatedir}/log
}