diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/package.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass index 4dfd5f0444..8db000b23a 100644 --- a/classes/package.bbclass +++ b/classes/package.bbclass @@ -551,7 +551,9 @@ emit_pkgdata[dirs] = "${PKGDATA_DIR}/runtime" ldconfig_postinst_fragment() { if [ x"$D" = "x" ]; then - [ -x /sbin/ldconfig ] && [ -e /etc/ld.so.conf ] && /sbin/ldconfig + if [ -e /etc/ld.so.conf ] ; then + [ -x /sbin/ldconfig ] && /sbin/ldconfig + fi fi } |