Skip to content
Commit 751659c2 authored by mike.looijmans@topic.nl's avatar mike.looijmans@topic.nl Committed by Joe MacDonald
Browse files

recipes-connectivity/samba: Only rmdir directories that exist



Depending on PACKAGECONFIG selection, the /run/samba directory may not
have been created. Make the do_install_append handle both situations
by checking whether these directories exist before attempting to remove
them.

This fixes do_install failing with an error like this:
 rmdir: failed to remove '/.../samba/4.1.12-r0/image/run/samba': No such file or directory

Signed-off-by: default avatarMike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: default avatarJoe MacDonald <joe_macdonald@mentor.com>
parent 37edcea5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment