diff options
-rw-r--r-- | meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | 4 |
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 c2436af4e..a199018c9 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | |||
@@ -151,7 +151,9 @@ do_install_append() { | |||
151 | done | 151 | done |
152 | 152 | ||
153 | # fix file-rdeps qa warning | 153 | # fix file-rdeps qa warning |
154 | sed -i 's:\(#!/bin/\)bash:\1sh:' ${D}${bindir}/onnode | 154 | if [ -f ${D}${bindir}/onnode ]; then |
155 | sed -i 's:\(#!/bin/\)bash:\1sh:' ${D}${bindir}/onnode | ||
156 | fi | ||
155 | 157 | ||
156 | rm -rf ${D}/run ${D}${localstatedir}/run ${D}${localstatedir}/log | 158 | rm -rf ${D}/run ${D}${localstatedir}/run ${D}${localstatedir}/log |
157 | } | 159 | } |