meta-tizen: privacy-manager-server: Prevent running ldconfig if not on system
Without this change,
bitbake tries to run ldconfig on host instead
and then complains (but not fail !) about permission issue like :
/sbin/ldconfig.real: \
Can't create temporary cache file /etc/ld.so.cache~: \
Permission denied
Note, "or condition" is prefered because of shell's -e option.
Change-Id: I06d3731455912b536c053b29833de9d44832027b
(From meta-tizen rev:
4a9ae2d0394a94ad7ecbd927aae40b125ee5baf7)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>